Answers for "upcasting and downcasting in polymorphism in java"

2

what is downcasting

Downcasting is casting to a subtype, 
going down in the inheritance tree.
It is done to access sub class features.
It has to be done manually

(TakeScreenShot)driver).takeScreenShot();
Posted by: Guest on January-05-2021

Code answers related to "upcasting and downcasting in polymorphism in java"

Browse Popular Code Answers by Language