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
Computer Science,
4 months ago
Math,
4 months ago
Social Sciences,
8 months ago
Computer Science,
8 months ago
Computer Science,
11 months ago
Social Sciences,
11 months ago