When does compiler supply default constructor for class
Answer : If no constructors have been defined for the class then “default constructor” refers to a nullary constructor will be automatically generated by the compiler . The default constructor is also empty, meaning that it does nothing. A user defined constructor that takes no parameters is called a default constructor too.