- An object is called an instance of a class. An object is an instance of exactly one class.
- For example: The two persons A and B are instances or objects of the Person class.
Once a class is defined, we can create as many objects of the class as a program requires.
A class must be defined before you can create an object of the class.