upcasting and downcasting in java j code example
Example: 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();