-
在作业1的Employee和EmployeeDemo两个类基础上修改
1,重写Employee类的toString方法,返回Employee类的相关信...
在作业1的Employee和EmployeeDemo两个类基础上修改
1,重写Employee类的toString方法,返回Employee类的相关信息的字符串形式
重写Employee类的equals方法,如果两个Employee实例的名字和所属部门相同,返回true;
并在EmployeeDemo类里面验证上述两个方法
2,定义Clerk、Salesman、Engineer三个类,分别继承自Employee
为Salesman增加一个年销售额属性
为Engineer增加一个年消化人月数属性
3,将下面的描述反映到程序里
普通员工年终奖金分配方案为月薪×2
Salesman:销售额×2%+月薪×1.8
Engineer:年消化人月数×300+月薪×2.5
Clerk:月薪×2.5-1 of the Employee in the operation and EmployeeDemo two classes based on the modification 1, rewrite the Employee class toString method to return to Employee class-related information to rewrite the string form of Employee class equals method, if the two examples of Employee s name and their the same sector, return true and EmployeeDemo the above-mentioned two types of authentication methods inside 2, the definition of Clerk, Salesman, Engineer of three categories, respectively, inherited from the Employee as a Salesman for an additional annual sales for an additional attribute for the Engineer who was the number
- 2023-05-31 23:40:03下载
- 积分:1
-
专门针对一般用户的制作war包的一个小程序,对于不喜欢使用ide的朋友可以试试看!...
专门针对一般用户的制作war包的一个小程序,对于不喜欢使用ide的朋友可以试试看!-targeted users of the war produced a small package of procedures for the use of ide do not like friends can try!
- 2022-02-25 03:59:10下载
- 积分:1
-
EJB设计模式(代码).zip
EJB Design Patterns (Code).zip
- 2022-06-20 21:45:07下载
- 积分:1
-
java日历源码界面美观,对理解java思想体系,构建有一定帮助
java日历源码界面美观,对理解java思想体系,构建有一定帮助-java calendar FOSS beautiful interface, java ideology of understanding, we help build a
- 2023-06-08 11:50:03下载
- 积分:1
-
您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您...
您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您-Your package and then write their specific functions (at least 20 words). As far as possible not to let the station to the time you spent on
- 2022-09-22 18:55:03下载
- 积分:1
-
是一个wap+java的不错的例子,可以参考着自己来做一次,这样效果就很明显了...
是一个wap+java的不错的例子,可以参考着自己来做一次,这样效果就很明显了-Is a wap+ Java good example, you can reference to do their time, so the effect is quite clear
- 2022-04-02 01:55:23下载
- 积分:1
-
java邮件源程序
java邮件源程序-java e-mail source
- 2022-07-23 02:35:26下载
- 积分:1
-
java编制的成绩管理系统,实现课程,学生成绩的管理
java编制的成绩管理系统,实现课程,学生成绩的管理-java prepared performance management system, curriculum, student achievement management
- 2022-01-26 06:12:02下载
- 积分:1
-
鼠标监听 可以添加多个鼠标监听 实现对鼠标的控制和捕获
鼠标监听 可以添加多个鼠标监听 实现对鼠标的控制和捕获-mouse
- 2022-08-15 09:07:17下载
- 积分:1
-
JSP应用开发详细的溶胶污染(第二版),完成…
JSP application develops the detailed solution (second edition) the complete source code ,多平台,文章/文档/Program Document
JSP 应用开发详解(第二版)全部源码-JSP application develops the detailed sol Pollution (second edition), the complete source cod e, multi-platform, articles/documents/JSP Program Document Comments on Application Development (2nd Edition) all FOSS
- 2022-03-11 12:01:13下载
- 积分:1