文件名称:Employee
介绍说明--下载内容均来自于网络,请自行研究使用
建立类的层次结构。
创建如下图所示的类
使用类层次结构中的类
Employee : 姓名,保险号、
SalariedEmployee 周薪
CommissionEmployee 佣金率、销售总额
HourlyEmployee 每小时的工资和工作小时数
BaseplusEmployee 每周的基本工资数
-Create a class hierarchy.
To create a class as shown
Use classes in the class hierarchy
Employee: name, insurance number,
SalariedEmployee weekly earnings
CommissionEmployee commission rates, total sales
HourlyEmployee hourly wages and the number of hours worked
BaseplusEmployee weekly basic wage
创建如下图所示的类
使用类层次结构中的类
Employee : 姓名,保险号、
SalariedEmployee 周薪
CommissionEmployee 佣金率、销售总额
HourlyEmployee 每小时的工资和工作小时数
BaseplusEmployee 每周的基本工资数
-Create a class hierarchy.
To create a class as shown
Use classes in the class hierarchy
Employee: name, insurance number,
SalariedEmployee weekly earnings
CommissionEmployee commission rates, total sales
HourlyEmployee hourly wages and the number of hours worked
BaseplusEmployee weekly basic wage
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Employee\.classpath
........\.project
........\.settings\org.eclipse.jdt.core.prefs
........\bin\BaseplusEmployee.class
........\...\CommissionEmployee.class
........\...\Employee.class
........\...\HourlyEmployee.class
........\...\SalariedEmployee.class
........\...\TextEmployee.class
........\src\CommissionEmployee.java
........\...\BaseplusEmployee.java
........\...\HourlyEmployee.java
........\...\Employee.java
........\...\SalariedEmployee.java
........\...\TextEmployee.java
........\.settings
........\bin
........\src
Employee