C++ as an object-oriented

What is a data encapsulation? - Data Encapsulation: The wrapping up of data and functions into a single unit (Class) is known as Encapsulation. .