English

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?
Chapter 4: Objects - EXERCISE [Page 107]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 4 Objects
EXERCISE | Q 6. | Page 107
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×