Objects are encapsulated. Encapsulation means that the inner workings of the object, such as its methods and properties, are maintained within the object.
When you create a new object with an object definition, the new object maintains the same characteristics as the original object. This characteristic of objects is known as object inheritance. Objects inherit the properties and methods of the original object.