+ 1
Whats the difference between abstraction and encapsulation?
2 Réponses
+ 1
Encapsulation means you're hiding data from the rest of the program, whereas abstraction means you're hiding data from the user.
+ 1
encapsulation means you are wrapping up data and functions in a single unit called class while abstraction means you are using some features without knowing how exactly its defined as in case of classes you can access public data and functions using objects and data using member functions.