91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

北郵 java 作業5 群體對象,李頡老師的課上作業群體對象

資源截圖

代碼片段和文件信息

package?work5;

public?class?basePlusCommissionEmployee?extends?CommissionEmployee{
????float?baseSalary;
????public?basePlusCommissionEmployee(String?newfirstNameString?newlastNameString?newsocialSecurityNumberfloat?newgrossSalesfloat?newcommissionRatefloat?newbaseSalary){
???? super(newfirstNamenewlastNamenewsocialSecurityNumbernewgrossSalesnewcommissionRate);
???? baseSalary=newbaseSalary;
????}
????float?earning(){
???? return?super.earning()+baseSalary;
????}
????float?getbaseSalary(){
???? return?baseSalary;
????}
????void?setbaseSalary(float?newbaseSalary){
???? baseSalary=newbaseSalary;
????}
????public?String?toString(){
???? return?“basePlusCommissionEmployee“+super.toString()+“baseSalary=“+baseSalary;
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????762??2017-12-24?10:34??basePlusCommissionEmployee.java
?????文件?????????941??2017-12-24?10:34??CommissionEmployee.java
?????文件?????????840??2017-12-24?10:34??Employee.java
?????文件????????6293??2017-12-24?10:34??Factory.java
?????文件?????????730??2017-12-24?10:34??HourlyEmployee.java
?????文件?????????652??2017-12-24?10:34??SalaridEmployee.java

評論

共有 條評論