✏️ Explanatory Question

Why is an object called an instance of a class?

👁 115 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

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.