Answers

Question and Answer:

  Home  Java Classes

⟩ Java allows objects to initialize themselves when they are created using _________A) ArgumentsB) ClassesC) ConstructorsD) Parameters

Ans is constructer.

B'coz When a object is created following things are happen:

1) Memory gets allocated to the object

2) Constructer gets called.

3) In constructer the object gets initialize.

i think this will be sufficient to clear the topic..

 159 views

More Questions for you: