Respuesta :
Class Encapsulation means that the user of the class does not need to know how the class is implemented. The details of implementation are encapsulated and hidden from the user.
What is Class Encapsulation?
In object-oriented computer programming (OOP) languages, the notion of encapsulation (or OOP Encapsulation) refers to the bundling of data, along with the methods that operate on that data, into a single unit. In general, encapsulation is a process of wrapping similar code in one place.
In encapsulation, a class's variables are hidden from other classes and can only be accessed by the methods of the class in which they are found. Encapsulation in Java is an object-oriented procedure of combining the data members and data methods of the class inside the user-defined class.
In C++, we can bundle data members and functions that operate together inside a single class. For example, class Rectangle { public: int length; int breadth; int getArea() { return length * breadth; } };
To know more about Encapsulation, check out: https://brainly.com/question/28482558
#SPJ4