Java supports direct downcasting.

Answer: b
Explanation: The downcasting is not possible in java directly. This has to be done explicitly. The downcasting is not safe but can be checked for safe casting using instanceof function.
 

Tìm kiếm

Back
Top