1.

Which among the following is safe?

A. Upcasting
B. Downcasting
C. Both upcasting and downcasting
D. If upcasting is safe then downcasting is not, and vice versa
Answer» B. Downcasting


Discussion

No Comment Found