DL
Size: a a a
DL
RA
class employee:
def __init__(self, name, sal):
self.__name=name # private attribute
self.__salary=sal # private attribute
RA
class employee:
def __init__(self, name, sal):
self.__name=name # private attribute
self.__salary=sal # private attribute
DL
SA
н
н
SA
We don't use the term "private" here, since no attribute is really private in Python (without a generally unnecessary amount of work).
SA
V
AS
AS
V
V
AS
AS
AP
KK
AP