-
在作业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
-
一款手机java游戏
怪物猎人 喜欢的朋友试试看
一款手机java游戏
怪物猎人 喜欢的朋友试试看-A cell phone java game like monster hunter friends give it a try
- 2023-05-20 22:40:03下载
- 积分:1
-
SOAP实例程序,实现Java发送SOAP信息
SOAP实例程序,实现Java发送SOAP信息-SOAP examples of programs to achieve Java to send SOAP messages
- 2023-08-17 01:55:02下载
- 积分:1
-
Fast implementation of C4/5 in Java
Fast implementation of C4/5 in Java
- 2022-07-20 05:12:56下载
- 积分:1
-
dom4j
dom4j入门例子,提供对xml文件的一些常见操作
创建 修改 删除等-dom4j
- 2022-08-12 15:40:43下载
- 积分:1
-
ssd 3 practical quiz3
ssd 3实用问答3
- 2022-11-08 19:15:03下载
- 积分:1
-
12315企业12315的源码部分,完整的一套,java部分…
一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.-a complete set of business 12,315 of the source jsp part in 12,315, JAVA part of the background gs12315 src, no packing database.
- 2022-01-20 22:58:52下载
- 积分:1
-
以C语言和Java语言、嵌入式开发,来设置一个用户登录界面
以C语言和Java语言、嵌入式开发,来设置一个用户登录界面-user
- 2022-03-16 03:42:59下载
- 积分:1
-
在java下实现的绘图程序,功能比较全面,想交java作业足够啦。 我就不信,我GF自己编的都能重复!
在java下实现的绘图程序,功能比较全面,想交java作业足够啦。 我就不信,我GF自己编的都能重复!-under the mapping procedures, functions more comprehensive, and would like to pay it sufficient java operations. I"m pretty sure, I own part of the GF can repeat!
- 2023-04-25 11:55:03下载
- 积分:1
-
一个简单但是有效的JINI源码示例,方便大家学习
一个简单但是有效的JINI源码示例,方便大家学习-a simple but effective example of JINI source to facilitate learning
- 2022-01-26 00:13:27下载
- 积分:1