Which way the downcasting is possible with respect to inheritance?
(a) Upward the inheritance order
(b) Downward the inheritance order
(c) Either upward or downward the inheritance order
(d) Order of inheritance doesn’t matter
I have been asked this question in homework.
I'd like to ask this question from Downcasting in chapter Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming