PPT Slide
- If first line of constructor is not an explicit call to a superclass constructor, Java will implicitly put super( ) as the first line, calling the superclass default constructor.public Dog() {
- An exception to this rule: chained constructor call to this(params) will defer super( ) call
- To use superclass constructors with
params, call them explicitly,
Constructors and Inheritance