该文被密码保护。 阅读全文
摘要:
Employee; package textq; /** * 调用接口Comparable排序 * @author Administrator * */ public class Employee implements Comparable<Employee>{ private int id; pr 阅读全文
摘要:
public abstract class Car { public abstract String getInfo(); //用来描述汽车的信息 } public class BMW extends Car { @Override public String getInfo() { //用来描述汽 阅读全文
摘要:
Shape: Shape: package Area; /** * 求面積 * @author Administrator * */ public abstract class Shape { public String getName(){ return this.getClass().getNa 阅读全文
摘要:
Employee: package text1; public class Employee { public String getInfo(){ return "我是王大錘"; } } Manager: package text1; public class Manager { public St 阅读全文
摘要:
Employee: import java.util.Date; /* * */ public class Employee { private String name; private double salary; private Date birthday; public Employee(){ 阅读全文