-
在作业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
-
一个很好的画图板exe文件
一个很好的画图板exe文件-a good drawing board exe files
- 2022-08-12 18:24:42下载
- 积分:1
-
java写的一个记事本程序.代码完整.适合学习用
java写的一个记事本程序.代码完整.适合学习用-java notepad.good code for you
- 2022-11-20 14:25:03下载
- 积分:1
-
JAVA获取网卡的源码,可以用于要求不高的网络身份认证。
JAVA获取网卡的源码,可以用于要求不高的网络身份认证。-Java card access to the source code can be used to a modest network authentication.
- 2023-02-04 18:40:03下载
- 积分:1
-
这是图书馆的代码,大家好好学习哈 ~我找了好久才发现的,大家共同分享...
这是图书馆的代码,大家好好学习哈 ~我找了好久才发现的,大家共同分享-it is library instruments ,,it is 搜hard ,hello~
- 2023-05-01 10:15:04下载
- 积分:1
-
java写的一个纯神经网络的源代码,功能很强大!
一个纯java写的神经网络源代码,功能很强大!-Java written in a pure neural network source code, function very powerful!
- 2023-07-04 01:45:03下载
- 积分:1
-
图书馆管理系统,使用的是mysql数据库与struts1.2
图书馆管理系统,使用的是mysql数据库与struts1.2-Library management system, using a mysql database and struts1.2
- 2022-01-26 04:16:45下载
- 积分:1
-
jsp页面登陆后,实现对Sybase数据库的增删改查的访问.
jsp页面登陆后,实现对Sybase数据库的增删改查的访问.
- 2023-06-17 11:00:03下载
- 积分:1
-
用Java编写的,在屏幕上可以移动的图标,而且鼠标碰它,可以移动...
用Java编写的,在屏幕上可以移动的图标,而且鼠标碰它,可以移动-Jmichelle on screen, the icon, and can move the mouse touch it, you can move ""
- 2023-06-28 05:55:02下载
- 积分:1
-
用java编写的puzzle游戏
用java编写的puzzle游戏-prepared with the puzzle game
- 2022-04-13 09:59:35下载
- 积分:1