

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» D. Class C object can’t be upcasted | |