What is upcasting?
(a) Casting subtype to supertype
(b) Casting super type to subtype
(c) Casting subtype to super type and vice versa
(d) Casting anytype to any other type
This question was addressed to me by my college professor while I was bunking the class.
This interesting question is from Upcasting topic in section Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming