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 embellish those classes with new capabilities.
b. A superclass’s members can be accessed in the superclass declaration and in
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 refer- ence 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.
Step by Step Answer:
Java How To Program Early Objects
ISBN: 9780134743356
11th Edition
Authors: Paul Deitel, Harvey Deitel