Why encapsulation is important || encapsulation in java || Java OOP theory

Описание к видео Why encapsulation is important || encapsulation in java || Java OOP theory

Encapsulation is defined as the wrapping up of data members under a single unit. This is the simplest definition if you are trying to understand what is encapsulation in java.
In java, we can treat our class as a container that can contain variables, methods, and blocks. We must secure them by giving them correct access.
Using encapsulation we can hide our variables and can give them either read or write access. We can also give both of the access to variables by writing both getter and setter methods for our variables.

Please follow this video to get a foundation about the encapsulation concept. So this is the checklist for today's video.

1.what is encapsulation in java?
2.Why encapsulation is important
3.Learn encapsulation in java with example
4.How to secure our java variables
4.Private access modifiers in java
5.what is getter and setter in java
6.getter and setter in java example
7.Conclusion: Why encapsulation is an important java oop theory


subscribe to my channel by clicking on the link below.

   / @seleniumexpress  

Stay tuned and like my Facebook page for more.

  / seleniumexpress  


Music :
-----------
credits : -
1)
Adventures by A Himitsu   / a-himitsu  
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox    • A Himitsu - Adventures [Royalty Free ...  
Music provided by Audio Library    • Adventures – A Himitsu (No Copyright ...  

(intro)

2)
NCM Epic Music Ender Guney
   / ncmepicmusic  

-----

intro template :
   / alexbau01  

Комментарии

Информация по комментариям в разработке