Q. What do you mean by Encapsulation?
Encapsulation:- An object is said to be encapsulate (hide) data and program. This signifies that the user cannot see the inside of the object but can use the object by calling the program part of the object. This hiding of details of one object from another object, which uses it, is known as encapsulation.