Computer Science, asked by PUSHPIT2004, 1 year ago

When is constructor function called


Anonymous: post my answer in brain list

Answers

Answered by priyanshi16648
1
immediately after the creation of object
Answered by Anonymous
1

When does the Constructor get called?

Before object creation.

During object creation.

After object creation.

The object memory is allocated, the field variables with initial values are initialized, and then the constructor is called, but its code is executed after the constructor code of the object super class.

FOLLOW ME AND PRESS BUTTON FOR THANKS

Similar questions