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.

Computer Science & Information Technology

You might also like to view...

________ checks documents for macros and digital signatures

A) The Expression Builder B) The Validation rule C) The Trust Center D) Data validation

Computer Science & Information Technology

Which option affects the speed at which a character repeats after the repeat delay?

A) Duplicate B) Keyboard rate C) Repeat rate D) Key rate

Computer Science & Information Technology