a. Why is an Object called an 'Instance' of a class? Explain.
Answers
Answered by
3
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.
Answered by
2
Answer:
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.
Please mark me brainliest.
Similar questions
Hindi,
4 months ago
Social Sciences,
4 months ago
Social Sciences,
9 months ago
Computer Science,
9 months ago
Computer Science,
1 year ago