When are the object type known for upcasting the objects?
(a) Compile time
(b) Runtime
(c) Source code build time
(d) Doesn’t apply to objects directly
I got this question in exam.
This intriguing question originated from Upcasting topic in division Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming