Lec07 - Java/OOP - Data Hiding and Encapsulation

preview_player
Показать описание
Object Oriented Programming using Java in Urdu/Hindi
This video covers following topics:
1. Why we may need to hide some attributes or methods of an object
2. What are access modifiers and how they are used
2. How access modifiers are used to hide attributes and methods
3. How we can enforce some policy or contraint on an object attribute. How set methods are created and used.
4. How we give read access to private attributes using get method
5. What are some conventions that Java developers follow for naming get and set methods
Рекомендации по теме
Комментарии
Автор

Sir this keyword only used for instance variable or it can also be used for local variables?

SaifAli-stwf
join shbcf.ru