• Tutorials
  • Courses
  • Tracks

abs5

Last Updated :
Discuss
Comments

What is the major difference in abstraction and encapsulation?

Abstraction hides implementation encapsulation binds data and function together.

Abstraction uses private members and encapsulation uses public members.

Encapsulation hides logic and abstraction binds data.

There is no difference

Share your thoughts in the comments