Each is an integrated, separate unit with its own hardware and functions. This single location makes any changes to data values or types simpler to make-all the changes are in one place. A programmer doesn't even need to know how an object does what it does. Viewing the object from outside, he or she only needs to know how to relate the object to others and to use its abilities. Along with the quality of encapsulation, programming objects possess another advantage in a quality called - inheritance.
Objects are individual instances of something called classes.
The class to which the object belongs is like a template for all of its objects. This hierarchical arrangement controls complexity. You don't even have to know how they do what they do in order to use them properly. Finally, there is the quality of polymorphism. In traditional programming, to get two different tasks done requires writing two different functions.