Fill in the blanks in each of the following statements: a) ________is a form of software reusability
Question:
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 enhance those classes with new capabilities.
b) A base class’s ________members can be accessed only in the base-class declaration and in derived-class declarations.
c) In a(n) ________relationship, an object of a derived class also can be treated as an object of its base class.
d) In a(n) ________relationship, a class object has references to objects of other classes as members.
e) In single inheritance, a base class exists in a(n) ________relationship with its derived classes.
f) A base class’s ________members are accessible anywhere that the app has a reference to an object of that base class or to an object of any of its derived classes.
g) When an object of a derived class is instantiated, a base class ________is called implicitly or explicitly.
h) Derived-class constructors can call base class constructors via the ________keyword.
Step by Step Answer: