Which statement best describes the relationship between superclass and subclass types?
a. A subclass reference cannot be assigned to a superclass variable and a superclass reference cannot be assigned to a subclass variable.
b. A subclass reference can be assigned to a superclass variable and a superclass reference can be assigned to a subclass variable.
c. A superclass reference can be assigned to a subclass variable, but a subclass reference cannot be assigned to a superclass variable.
d. A subclass reference can be assigned to a superclass variable, but a superclass reference cannot be assigned to a subclass variable.
D
You might also like to view...
The ________ dialog box will display if you are changing a cell at the same time that another user is changing the same cell
A) change history B) adjust cell contents C) potential error D) conflict resolution
__________-generation languages, such as COBOL and Fortran, were used extensively for business and scientific applications.?
A. ?First B. ?Second C. ?Third D. ?Fourth
In a three-tier architecture, the user interface classes should have nothing to do with how data is validated.
Answer the following statement true (T) or false (F)
Describe the process of writing a formal specification for some system function.
What will be an ideal response?