Page 1 of 1

Which of these is a private data field?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
def Demo:
def __init__(self):
__a = 1
self.__b = 1
self.__c__ = 1
__d__= 1
a) __a
b) __b
c) __c__
d) __d__