why is object called instance of class?
Answers
Answered by
2
An object is a real-world entity which have State, behavior, and Identity. i.e. You are the object of 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.
Hope it helps.Plz mark as brainliest.
Answered by
1
Explanation:
class is group of similar objects. that is objects of same type make a class.Example - let say 'fruit 'is class then it's objects are mango ,guava,papaya,banana. etc
Similar questions