Advance python EP:07 public, private and protected variables | object oriented programming | python

preview_player
Показать описание
Hello everyone , in this video I have told you about the public, private and protected variables which come under the advance python. In this video I have told you what is public, private and protected variables and how to declare them and shown you how to write a program for accessing these types of variables in python programming language.
-----------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
#pythonproject #python #pythoncode
Рекомендации по теме
Комментарии
Автор

you told protected variables can be accesible only by child class which means class variable but here you accessed it also by main class . can you please explain it detail?

hemanthvema
join shbcf.ru