-
在作业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
-
黑白棋123 黑白棋456 大学毕业设计 做很好
黑白棋123 黑白棋456 大学毕业设计 做很好- good
- 2023-05-29 15:20:03下载
- 积分:1
-
java写的一个纯神经网络的源代码,功能很强大!
一个纯java写的神经网络源代码,功能很强大!-Java written in a pure neural network source code, function very powerful!
- 2023-07-04 01:45:03下载
- 积分:1
-
基于JAVA的ICQ系统
具体操作,最好多参考源码中的doc说明文档。...
基于JAVA的ICQ系统
具体操作,最好多参考源码中的doc说明文档。
- 2022-04-16 12:23:06下载
- 积分:1
-
UDP chat program, a simple
java的UDP聊天程序,简单-UDP chat program, a simple
- 2022-08-22 09:54:23下载
- 积分:1
-
用java做的ICQ,好啊!我们看啊!
用java做的icq,不错的啊!大家看看啊!-do with java icq, good ah! We look at ah!
- 2022-05-30 21:03:13下载
- 积分:1
-
聚类的java代码文件来实现文本聚类特征的文本,分
java文本聚类程序代码文件,实现文本聚类功能,分词。-text clustering java code files to achieve text clustering features, sub-word.
- 2022-03-07 09:18:10下载
- 积分:1
-
jpetstor learning and have time to take a look at
jpetstor学习,有时间可以一起-jpetstor learning and have time to take a look at
- 2022-09-27 17:20:09下载
- 积分:1
-
This a simple chat program, which is based on a b/s mode of the system, we hope...
这是一个简易的聊天程序,它是一个基于b/s模式的系统,希望大家看了之后能给予更多的改进啊,谢谢大家-This a simple chat program, which is based on a b/s mode of the system, we hope that after reading can be given more improvements ah, thank you
- 2022-03-22 14:40:06下载
- 积分:1
-
用JAVA写的一个简单的聊天室客户端代码,供初学者学习参考
用JAVA写的一个简单的聊天室客户端代码,供初学者学习参考-with JAVA write a simple chat room client code reference for beginners learning
- 2022-03-18 09:45:13下载
- 积分:1