Define Encapsulation.
3 Likes
The wrapping up of data (characteristics) and functions (behaviour) into a single unit, called class, is known as Encapsulation. It is a way to implement data abstraction.
Answered By
1 Like
'An object's state and behaviour are two distinct things yet linked to one another'. Comment.
Define data abstraction.
What is message passing among objects ?
What are methods ? What do they represent ?