Write a paragraph on examples of abstraction that you encounter in your day-to-day life. For example, driving a car is an example of abstraction, you don't need to understand how a car works underneath the hood in order to drive one.
Answers
Answered by
22
Hello!!
- It means if any component is following Abstraction as well as data hiding then it is also following Encapsulation.
- Encapsulation:It is actually the process of binding data members and methods together in a unit.Each class in java itself is an example of encapsulation .
Thanks!
Similar questions