Chapter 9: Problem 1
Fill in the blanks in each of the following statements: a) __________ is a form of software reusability in which new classes acquire the members of existing classes and embellish those classes with new capabilities. b) A superclass’s____________ members can be accessed in the superclass declaration and in subclass declarations. c) In a(n) _______ relationship, an object of a subclass can also be treated as an object of its superclass. d) In a(n) _______ relationship, a class object has references to objects of other classes as members. e) In single inheritance, a class exists in a(n) _______________ relationship with its subclasses. f) A superclass’s __________ members are accessible anywhere that the program has a reference to an object of that superclass or to an object of one of its subclasses. g) When an object of a subclass is instantiated, a superclass ______________ is called implicitly or explicitly.] h) Subclass constructors can call superclass constructors via the _______ keyword.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.