Chapter 7: Inheritance – Constructor Behavior

Constructor behavior


Basic Inheritance Constructors Behavior

Study the code and the output from the driver class. Use the output to make conclusions based on the following:
1. Do you see a pattern in the order in which the constructor(s) is(are) called? Clearly explain
2. What criteria does the order depend on?
3. Explain how late binding, Polymorphism has a role in the behavior.