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. A subclass reference can be assigned to a superclass variable, but a superclass reference cannot be assigned to a subclass variable.
You might also like to view...
Running the CPU at a faster speed than the manufacturer recommends is called ________
A) latency B) fetching C) hyperthreading D) overclocking
You can use a contact group to send an e-mail message to everyone within a group.
Answer the following statement true (T) or false (F)