+ 1
What is the difference between the abstraction and encapsulation
say me the difference for this question
1 Resposta
+ 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