What is Downcasting?
Question : What is Downcasting?
It is the casting from a general to a more specific type, i.e. casting down the hierarchy.
It is the casting from a general to a more specific type, i.e. casting down the hierarchy.