Answer the following statements true (T) or false (F)
1. Because the subclass is more specialized than the superclass, it is sometimes necessary for the subclass to replace inadequate superclass methods with more suitable ones.
2. When a subclass overrides a superclass method, only the subclass's version of the method can be called with a subclass object.
3. Inheritance involves a subclass, which is the general class, and a superclass, which is the specialized class.
4. It is not possible for a superclass to call a subclass's method.
5. When a subclass extends a superclass, the public members of the superclass become public members of the subclass.
1. TRUE
2. TRUE
3. FALSE
4. TRUE
5. TRUE
You might also like to view...
You can control the number of significant digits in your output with the __________ manipulator.
a. setprecision b. set_precision c. to_fixed d. setfixed() e. None of these
WDM (choose the correct one.)
a. uses only white light to transmit data b. uses multiple colors of light to transmit data c. uses only a single channel in a fiber d. is the least complex fiber transmission method
________ is the process of inserting information from a source file, using a format that you specify, into a destination file
Fill in the blank(s) with correct word
When you enter an improper field value, a(n) ____ message appears and tells you what to do to correct your mistake.
A. ScreenTip B. Quick Access C. error D. security