-
在作业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
-
数据库连接、数据库连接、数据库连接、数据库连接…
database connection, database connection, database connection,-database connection, database connection, database connection, database connection,
- 2022-02-02 11:23:52下载
- 积分:1
-
用JXTA实现的P2P应用程序,该应用程序主要时完成是对RestoPeer的建立的安全机制的实现...
用JXTA实现的P2P应用程序,该应用程序主要时完成是对RestoPeer的建立的安全机制的实现-using JXTA P2P applications, The application procedures will be completed on RestoPeer the establishment of a security mechanism for the realization of
- 2022-08-08 11:01:10下载
- 积分:1
-
一个java小游戏,是模拟撞球游戏做的。
一个java小游戏,是模拟撞球游戏做的。-a small java games, it is the pool games do. Haha
- 2022-03-19 07:28:16下载
- 积分:1
-
The uploaded file is set up for SSH framework of the study, which documents in d...
该上传的文件主要是针对SSH框架的搭建的学习,里面有详细的文件配置信息,对学习还是有一定的指导效果,有具体的截图参考
-The uploaded file is set up for SSH framework of the study, which documents in detail configuration information, or to study the effect of some guidance with specific reference to the screenshot
- 2022-08-08 17:07:32下载
- 积分:1
-
简单介绍sis结合的一个例子 和一个集成的框架
简单介绍sis结合的一个例子 和一个集成的框架-Sis combined with a brief introduction and an example of an integrated framework
- 2022-03-16 17:32:09下载
- 积分:1
-
Sun Java编码规范(中文).pdf
中文版本
Sun Java编码规范(中文).pdf
中文版本-Sun Java coding specifications (in Chinese). Pdf Chinese version
- 2022-04-21 23:29:07下载
- 积分:1
-
这是核心技术Java第七版的源代码,包括…
这是java2核心技术第七版的源代码,包含初级版和高级版。-This is the core technology Java2 seventh edition of the source code, including the initial version and advanced version.
- 2022-05-24 07:39:20下载
- 积分:1
-
A J2EE & Jsp Example
A J2EE & Jsp Example
- 2022-03-22 17:42:32下载
- 积分:1
-
java 实现的 中值滤波 ,用于图像处理
java 实现的 中值滤波 ,用于图像处理-MedianImage
- 2022-08-04 07:00:46下载
- 积分:1