What is object instantiation in Java?

Instantiate in Java means to call a constructor of a Class which creates an an instance or object, of the type of that Class . Instantiation allocates the initial memory for the object and returns a reference.

Sizin İçin Seçtik  Why do we initialize objects in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *