major differences between abstraction and encapsulation
Answers
Answered by
1
Main difference between them are , encapsulation is the mixing process of code and physical data together and while abstraction is the process of hiding the feeding data from the general users. Abstraction is bascially hiding the implementation and gain access to there functionality by exposing by extend keyword.
Anonymous:
please mark me brilliant
Answered by
4
Hey mate here's your answer.
- Encapsulation is used for hide the code and data in a single unit to protect the data for the outside the world.
Abstraction on the other hand means showing only the necessary details to the intended user.
- Encaplusation is wrapping up of data.
Abstraction is hiding up the backend data.
I hope it'll help you buddy ☺️
Similar questions