why is an object referred to as instance of a class?
Answers
Answered by
1
In Java language, where each object is created from a class, is called an instance of that class. Creating an instance of a class is sometimes referred to as instantiating the class. A real world example of an object would be 'dauber man', which is an instance of the class called 'dog'.
Answered by
2
Explanation:
In Java language, where each object is created from a class, is called an instance of that class.
Similar questions