why are object known as instances of a class??
Answers
Answered by
1
Answer:
So we need objects to represent the class. For example :- You are representing the Class Student. So you are the real-world entity of the class Student. Note:- An object is the example of a class that is going to represent it in the real world that's why it is called as the Instance (or example) of the class.
Similar questions