Objects:
Objects are the basic entities in an OOP through which we perceive the
world around us. We naturally see our environments as being composed of things
which have both attributes and behavior .These attributes and behavior in real
world are equivalent to data and function respectively in a program. Thus objects
are the self contained entity that consists of both data and function.