filmov
tv
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.
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
7.Conclusion: Why encapsulation is an important java oop theory
subscribe to my channel by clicking on the link below.
Stay tuned and like my Facebook page for more.
Music :
-----------
credits : -
1)
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
(intro)
2)
NCM Epic Music Ender Guney
-----
intro template :
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.
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
7.Conclusion: Why encapsulation is an important java oop theory
subscribe to my channel by clicking on the link below.
Stay tuned and like my Facebook page for more.
Music :
-----------
credits : -
1)
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
(intro)
2)
NCM Epic Music Ender Guney
-----
intro template :
Комментарии