Q. Which prefix makes an attribute private?
Solution:
The __ prefix makes an attribute private using name mangling, e.g., __value.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The __ prefix makes an attribute private using name mangling, e.g., __value.
Strengthen Your Practice with our comprehensive question bank.