摘要: package com.hanqi.test; public class Humen { private String speak; private String read; private String listen; public String getSpeak() { return speak; } public void ... 阅读全文
posted @ 2016-09-22 19:18 -加勒比海带 阅读(2023) 评论(0) 推荐(0) 编辑
摘要: 实现如下类之间的继承关系,并编写Music类来测试这些类。 阅读全文
posted @ 2016-09-22 19:03 -加勒比海带 阅读(2606) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi.test; public class Animal { private String name; private int legs; private int count; public String getKind() { return name; } public void setKind(S... 阅读全文
posted @ 2016-09-22 18:41 -加勒比海带 阅读(4048) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi.test; //创建接口 public interface ShapePara { //获取面积的方法 double getArea(); //获取周长的方法 double getCircumference(); } package com.hanqi.test; public c... 阅读全文
posted @ 2016-09-22 18:22 -加勒比海带 阅读(3957) 评论(0) 推荐(0) 编辑