Encapsulation in java | Encapsulation in java example

preview_player
Показать описание
Encapsulation in Java is a process of wrapping code and data together into a single unit, for example, a capsule which is mixed of several medicines.

In this video we will see :
- Definition of Encapsulation
- Example of Encapsulation

🔰For Complete Core Java 👇👇👇👇👇👇

🔰 What is inheritance :
🔰 What is Upcasting :
🔔 Subscribe My Channel : @codeash
🔰 Follow my Social Media Platforms :
🏷Facebook :
🏷Instagram :
🏷YouTube :
🏷Telegram :

🌐 Website :
✅ Whatsapp Us

encapsulation in java, encapsulation example in java, encapsulation example, definition of encapsulation, encapsulation in oops, data hiding, data hiding in oop, data hiding in java, data hiding in java example, how to achieve encapsulation in java, types of encapsulation in java, what is encapsulation

#encapsulation #encapsulationinjava #encapsulationexample #encapsulationinoops #datahidinginjava #datahiding
Рекомендации по теме
Комментарии
Автор

Now I have subscribed this channel because the explanation 🔥🙏way is very good

ujjalsingh
Автор

Thank you sir.. explanation is very clear

kirtishinde
Автор

So it's basically a way in order to restrict the user from accessing the variable and only call the method?

Nova-jcjn
Автор

kindly if you explain me why in getter setter the setter method is PUBLIC VOID but in getter you made only PUBLIC not public void like setter method.

awarhaq