Home / Questions / What is the difference between Abstraction and Encapsulation?
Explanatory Question

What is the difference between Abstraction and Encapsulation?

👁 15 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Abstraction Encapsulation
Hides implementation details Hides data
Focuses on what Focuses on how
Achieved using abstract classes/interfaces Achieved using classes & access modifiers