What is meant by the term Instantiation of an Object?
Advertisements
Question
What is meant by the term Instantiation of an Object?
Short Answer
Advertisements
Solution
Instantiation of an Object is the process of creating an object (instance) of a class in Java. It involves allocating memory for the object and initializing its data members through a constructor. In Java, instantiation is generally performed using the new keyword.
shaalaa.com
Is there an error in this question or solution?
