Pages

Showing posts with label encapsulation in java. Show all posts
Showing posts with label encapsulation in java. Show all posts

Thursday, May 7, 2020

Encapsulation in Java


In this topic will cover all as below:

1. What is Encapsulation?
2. How to achieve of Encapsulation?
3. What are packages and access Modifiers?
4. Advantages of Encapsulation.

1. What is Encapsulation?


Binding of data into single entity is called as Encapsulation.

Encapsulation overview
Fig: Encapsulation Overview