What is a default constructor where is it used?

The default constructor is used to provide the default values to the object like 0, null, etc., depending on the type .

Sizin İçin Seçtik  What is the best class in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *