0 votes
in Other by

Mention the use of a default constructor in Java?

1 Answer

0 votes
by

The purpose of the default constructor in Java is to assign the default value to the objects. Java compiler always creates a default constructor implicitly if there is no constructor present in the class.

...