Java

Topic: Constructors

What is Default constructor ?

The constructor that accepts no parameter is called default constructor. If a class has no precise constructor defined then the compiler will provide a default constructor.

Browse random answers: