Java繼承思想的實現

//父類 public class Employee { private String name; //姓名 private int age; //年齡 private double salary = 2000.0;//薪水 public Employee(String name,int age,double salary){ this.
相關文章
相關標籤/搜索