A downcast is a cast from a reference of a base class to a reference of one
Fantastic news! We've Found the answer you've been seeking!
Question:
A downcast is a cast from a reference of a base class to a reference of one of its derived classes. Discuss the extent to which Java and C++ are statically typed and type-safe given that a downcast may fail at run-time.
Related Book For
Posted Date: