Can someone explain the concept of downcasting in java?
I have a test tomorrow in my Java CIS class and i was hoping someone would be able to explain the concept of downcasting. I know you use it when you have subclasses of subclasses (the particular subclass inherits indirectly from the superclass,) but the reason why im a little unclear on (my teacher really likes to make us explain concepts in short answers)
This question is in the General Section. Responses must be helpful and on-topic.