摘要: 1 多态 实际上多态即为一个对象的多种状态 public class Test { public static void main(String[] args){ Animal t=new Tiger(); Animal d=new Dog(); showMe(d); } public static 阅读全文
posted @ 2017-04-13 21:14 凯西_Casey 阅读(102) 评论(0) 推荐(0) 编辑