Which among the following is true for upcasting in inheritance?
(a) Downward to the inheritance tree
(b) Upward to the inheritance tree
(c) Either upward or downward
(d) Doesn’t apply on inheritance
The question was posed to me in quiz.
My question comes from Upcasting in division Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming