Java Java Data Structures Getting There Type Casting

Soumitra Mehrotra
Soumitra Mehrotra
1,468 Points

What is the use or significance of Object type Casting?

I mean why(or when) would the instance of a Superclass need to be downcasted to access field/methods of a child class or vice versa?