摘要: 1 interface A 2 {public void get(); 3 } 4 class B implements A 5 {public void get(){ 6 System.out.println("出席活动"); 7 } 8 } 9 class C implements A 10 {private A a; 11 public C(A a){ 12 ... 阅读全文
posted @ 2016-09-27 17:26 as145 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1 interface A 2 {public void fintr(); 3 } 4 class B implements A 5 {public void fintr(){ 6 System.out.println("666"); 7 } 8 } 9 class C implements A 10 {public void fintr(){ 11 Sys... 阅读全文
posted @ 2016-09-27 17:10 as145 阅读(113) 评论(0) 推荐(0) 编辑