Difference between Encapsulation and Abstraction in Java
In Java, abstraction and encapsulation help in creating abstract actors in the system. Encapsulation is the realization of abstraction.
CARVIEW |
In Java, abstraction and encapsulation help in creating abstract actors in the system. Encapsulation is the realization of abstraction.
In simple words, java abstraction captures only those details about an object that is relevant to the current perspective. Learn more about abstraction in java.
HowToDoInJava provides tutorials and how-to guides on Java and related technologies.
It also shares the best practices, algorithms & solutions and frequently asked interview questions.