If Class C Inherits Class B And Class B Inherits Class A #1224
If class C inherits class B and class B inherits class A ________________
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Default Arguments vs Overloading, Upcasting and Downcasting - OOPs MCQ: Upcasting - Quiz No.1.
If class C inherits class B and class B inherits class A ________________
Class C object can be upcasted to object of class B only
Class C object can be upcasted to object of class A only
Class C object can be upcasted to object of either class A or B
Class C object can’t be upcasted