摘要:
1 interface Playable { 2 void play(); 3 } 4 interface Bounceable { 5 void play(); 6 } 7 interface Rollable extends Playable, Bounceable { 8 Ball ball = new Ball(“PingPang”); 9 }10 class Ball implements Rollable {11 private String name;12 public String getName() {13 return name;14 }15 public Ball(St. 阅读全文
posted @ 2013-06-11 10:27
路人浅笑
阅读(240)
评论(0)
推荐(1)
摘要:
阅读全文
posted @ 2013-06-11 09:47
路人浅笑
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号