+ 1
What is upward type and downward type casting?
if u type cast variables from child class or sub class(small) to parent class or super class(big) is called upward type casting (it is implicity) if u do casting variables from parent class or super class(big) to child class or sub class(small) is called downward type casting (it is explicity)
1 Answer
+ 2
You just explained it yourself.