What Happens When Downcasting Is Done But Not Explicitly #1243
What happens when downcasting is done but not explicitly defined in syntax?
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: Downcasting - Quiz No.2.
What happens when downcasting is done but not explicitly defined in syntax?
Compile time error
Runtime error
Code write time error
Conversion error