 Encapsulation is a technique that encourages decoupling.Objects can contain other objects in their instance variables; this is known as object composition.For example, an object in the Employee class might contain (either directly or through a pointer) an object in the Address class, in addition to its own instance variables like "first_name" and "position".