Question
Which of these is a private data field?def Demo:def __init__(self): __a = 1 self.__b = 1 self.__c__ = 1 __d__= 1
Answer: Option B
Was this answer helpful ?
Variables such as self.__b are private members of the class.
Was this answer helpful ?
Submit Solution