

MCQOPTIONS
Saved Bookmarks
1. |
If_class_C_inherits_class_B_and_class_B_inherits_class_A_________________$ |
A. | Class C object can be upcasted to object of class B only |
B. | Class C object can be upcasted to object of class A only |
C. | Class C object can be upcasted to object of either class A or B |
D. | Class C object can’t be upcasted |
Answer» B. Class C object can be upcasted to object of class A only | |