What is encapsulation in C++?
The process of binding the data and the functions acting on the data together in an entity (class) called as encapsulation.
The process of binding the data and the functions acting on the data together in an entity (class) called as encapsulation.