继承. 是面向对象三大特征之一,可以使得子类具有父类的属性和方法,还可以在子类中 ... public Cat(String name,int age){ super(name,age)}. java.
確定! 回上一頁