
JAVA OOP
Java OOP – Encapsulation
Encapsulation is binding of object state(fields) and behavior(methods) together. The idea behind the encapsulation is to hide the implementation details from the user. In previous articles we discussed about Inheritance and Polymorphism. You can refer those concepts before going to the encapsulation. Let’s go back to the topic Encapsulation. Real world Example for encapsulation is: […]
August 16, 2020