Computer Science, asked by jia30, 11 months ago

daily life example of encapsulation.​

Answers

Answered by prernabhise2001
2

Answer:

Every java class is examples of encapsulation because we write everything within the class only that binds variable and methods together and hides their complexity from other classes.

Answered by gratefuljarette
4

Answer:

There can be so many live examples of encapsulation which we see around us such as a car. A car has so many subsystems such as clutch, brake which we didn’t know how they are working internally.

Also, the capsule is a perfect example of encapsulation which comprises of sometimes so many medical compounds or ingredients that we don’t know exactly what they all are used for.  

Explanation:

Encapsulation is the process in which various units of things are encapsulated into a single unit and we don’t know how the other subsystems are working internally.

Similar questions