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.
Java
Topic: Constructors
What is Default constructor ?
Browse random answers:
What is the difference between a constructor and a method?
Why constructor does not have return type in java?
Where and how can you use a private constructor?
What are Characteristics of constructor:?
What is Parameterized constructor?
What is copy constructor?
What is Default constructor ?
What is Dynamic constructor ?
How should a contructor handle a failure?
What is virtual constructors/destructors?