Which Among The Following Is Safe #1218
Which among the following is safe?
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.
Which among the following is safe?
Upcasting
Downcasting
Both upcasting and downcasting
If upcasting is safe then downcasting is not, and vice versa