该文被密码保护。 阅读全文
posted @ 2019-03-30 21:51
Hello_World2020
阅读(6)
评论(0)
推荐(0)
摘要:
Employee; package textq; /** * 调用接口Comparable排序 * @author Administrator * */ public class Employee implements Comparable<Employee>{ private int id; pr 阅读全文
posted @ 2019-03-30 20:28
Hello_World2020
阅读(440)
评论(0)
推荐(0)
摘要:
public abstract class Car { public abstract String getInfo(); //用来描述汽车的信息 } public class BMW extends Car { @Override public String getInfo() { //用来描述汽 阅读全文
posted @ 2019-03-30 20:00
Hello_World2020
阅读(166)
评论(0)
推荐(0)
摘要:
Shape: Shape: package Area; /** * 求面積 * @author Administrator * */ public abstract class Shape { public String getName(){ return this.getClass().getNa 阅读全文
posted @ 2019-03-30 13:32
Hello_World2020
阅读(215)
评论(0)
推荐(0)
摘要:
Employee: package text1; public class Employee { public String getInfo(){ return "我是王大錘"; } } Manager: package text1; public class Manager { public St 阅读全文
posted @ 2019-03-30 12:55
Hello_World2020
阅读(328)
评论(0)
推荐(0)
摘要:
Employee: import java.util.Date; /* * */ public class Employee { private String name; private double salary; private Date birthday; public Employee(){ 阅读全文
posted @ 2019-03-30 12:40
Hello_World2020
阅读(400)
评论(0)
推荐(0)

浙公网安备 33010602011771号