Assigning a subclass reference to a superclass variable is safe ________.

a. because the subclass object has an object of its superclass.
b. because the subclass object is an object of its superclass.
c. only when the superclass is abstract.
d. only when the superclass is concrete.

b. because the subclass object is an object of its superclass.

Computer Science & Information Technology

You might also like to view...

By creating lookup fields, you can help improve the efficiency of the data entry process

Indicate whether the statement is true or false

Computer Science & Information Technology

To show proportional relationships with the largest component on the top or bottom, use the ________ SmartArt graphic type

A) cycle B) process C) list D) pyramid

Computer Science & Information Technology