What do you mean by default constructor in Java?

Java will automatically create default constructors if there are no default constructors written by you.

The default constructor will call parent default constructor and initialize member data variable to default values.

Suggest An Answer

No suggestions avaliable!

Latest post from Core Java interview questions

Ask Question