📜  java代码示例中的向下转换

📅  最后修改于: 2022-03-11 14:52:15.483000             🧑  作者: Mango

代码示例3
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();