encapsulation in java

Let’s learn what is encapsulation in java? Encapsulation in java Encapsulation is a procedure that allows to restrict access to certain components in the object. Encapsulation is one of the four fundamental Object Oriented Programming(OOPS) concept. Other three oops concept are polymorphism, inheritance and abstraction. In encapsulation variables and methods in a class are hidden…

Read More Encapsulation in java