摘要:
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(){ 阅读全文