+ 1

What is the difference between the abstraction and encapsulation

say me the difference for this question

24th Aug 2017, 7:24 AM
veena
veena - avatar
1 Answer
+ 8
•Abstraction lets you focus on what the object does instead of how it does it •Encapsulation means hiding the internal details or mechanics of how an object does something. For Example: When you change channel using tv remote u know what it does but don't how it does this is encapsulation
24th Aug 2017, 7:35 AM
P R
P R - avatar