father name = new child(); 只有这样才可以拥有转型功能 如上是向上转型:可以使用父类的属性和方法 child name1 = (child)name; 类似于常规的创建对象的方法,我把括号内内容理解为‘强制转换’