Why object is an instance of class?

A class can create objects of itself with different characteristics and common behaviour. So, we can say that an Object represents a specific state of the class . For these reasons, an Object is called an Instance of a Class.

Sizin İçin Seçtik  What is class and object in oops with example?

Leave a Reply

Your email address will not be published. Required fields are marked *