Hello.
Well, im a little confused as to what exactly the terms Data Abstraction and Data Encapsulation mean:
This is what i read:
Data Abstraction:data abstraction is a process of representing the essential
features without including implementation details.
Data Encapsulation:: Data encapsulation, also known as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user.
Can anyone please give me an example to exactly differentiate between the two?
Thanks.