Object-oriented is a software development method that organizes problems and solutions together as a collection of independent objects, and data structures and operations are included in the real model. We can identify an object-oriented type by seven features: equivalence, abstraction, classification, encapsulation, inheritance, polymorphism and persistence. Some of the real types apply only a portion of these seven articles; although they are called object-oriented, almost all object-oriented entities are called Object-based.
The object-oriented system uses the concept of encapsulation. A class encapsulates the properties and operations of an object, hiding specific details. However, encapsulation is not equal to information hiding, as Berard says. The encapsulated protection boundary is actually transparent or translucent. In other words, sometimes you can see it within the boundaries of protection, but it is hidden. Berard notes that "abstraction is a technique that helps us to identify what information should be visible and which information should be hidden." So encapsulation is a technique for wrapping information in a way that hides the hidden information, and the visible information is visible.
Chapter sixth-About objects