Why is an Object called an 'Instance' of a class? Explain.
Short Answer
Views 14
Answer:
The data members declared within a class are also known as instance variables. When an object of a class is created, it includes instance variable described within the class. This is the reason that an object is called an instance of a class.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.