+ 3

What is the difference between encapsulation and data hiding?

9th Jul 2016, 6:09 AM
simy
3 Réponses
+ 4
encapsulation means wrapping of data into a single entity. like classes data hiding means show only essential data. like in ATM, only essential data is shown to the customer. It may change from person to person.
10th Jul 2016, 8:40 AM
Krishnakant Verma
+ 1
that's data abstraction. and encapsulation is wrapping up data into singe unit like music player
9th Jul 2016, 3:51 PM
Tushar jain
0
@tushar jain @simmy thnx for real life examples 👍
22nd Aug 2016, 6:16 AM
ritul rofi
ritul rofi - avatar