摘要: // 覆盖class P{}class Q extends P{} class a{ static void m1(float x){ //静态方法不能被覆盖 System.out.println("father"+x); } void m2(float x){ //基类被子类覆盖 System.o 阅读全文
posted @ 2016-08-10 18:29 讲义大魔王 阅读(459) 评论(0) 推荐(0)