Advertisements
Advertisements
Question
Why is an object called an instance of a class?
One Line Answer
Solution
An object is a software bundle of related state and behavior. A class is a blueprint or prototype from which objects are created. An instance is a single and unique unit of a class.
shaalaa.com
Introduction of Elementary Concept of Objects and Classes
Is there an error in this question or solution?