Google News
logo
Java Constructor - Interview Questions
How a no – argument constructor is different from default Constructor?
* If a class contains no constructor declarations, then a default constructor with no formal parameters and no throws clause is implicitly declared.

* If the class being declared is the primordial class Object, then the default constructor has an empty body. Otherwise, the default constructor simply invokes the superclass constructor with no arguments.
Advertisement