Q. Which prefix makes an attribute private?

A
_
B
__
C
private
D
protected
Solution:

The __ prefix makes an attribute private using name mangling, e.g., __value.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!