Q) What is the purpose of a default constructor? The default constructor is used to provide the default values to the object like 0, null, etc., depending on the type .
Read moreWhat is the default constructor when it is called?
A constructor is always called when constructing a new object, and a constructor of every superclass of the class is also called. If no constructor is explicitly called, the default constructor is called (which may or may not be declared).
Read more