-
在作业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
-
银行系统的开发,包括用户查询,用户转帐,用户删除,公司用户管理...
银行系统的开发,包括用户查询,用户转帐,用户删除,公司用户管理-Banking system
- 2022-03-04 01:19:35下载
- 积分:1
-
用java实现的Tftp(Sftp)客户端与服务器程序。在这个程序中用到了一个“状态”的机制:客户端与服务器端在开始运行时有相同的状态,通过用户的输入或程序内部...
用java实现的Tftp(Sftp)客户端与服务器程序。在这个程序中用到了一个“状态”的机制:客户端与服务器端在开始运行时有相同的状态,通过用户的输入或程序内部运行的机制,程序可以转到不同的状态,在不同的状态下程序实现了不同的功能-achieved using java Tftp (Sftp) client and server. In this process uses a "state" of mechanism : the client and server operation at the beginning of the same state, through user input or the internal operating procedures of the mechanisms, procedures can be transferred to a different state, in a state where different procedures to achieve different functions
- 2023-08-02 01:30:03下载
- 积分:1
-
java拼图 分为3个等级 两种不同的玩法 一个是移动的 一个是跳动的...
java拼图 分为3个等级 两种不同的玩法 一个是移动的 一个是跳动的-java puzzle Level 3 is divided into two different ways is one of the Beat movement of the
- 2022-01-28 09:05:19下载
- 积分:1
-
使用jsp和access数据库写的bbs论坛系统
使用jsp和access数据库写的bbs论坛系统-BBS forum system which has used jsp and access database
- 2022-01-26 03:23:54下载
- 积分:1
-
JAVA计算器,非常简单
JAVA计算器,非常简单-Java calculators, and is very simple
- 2022-07-04 14:19:48下载
- 积分:1
-
java入门,非常的浅显易懂JAVA入门Java入门(3).rar
java入门,非常的浅显易懂JAVA入门Java入门(3).rar-entry, very simple words JAVA entry Java entry (3). Rar
- 2022-01-23 10:56:56下载
- 积分:1
-
一个用开源项目做的例子,struts+spring+hibernate
一个用开源项目做的例子,struts+spring+hibernate-an open-source project to do with the examples, struts spring pertains
- 2022-04-12 00:42:34下载
- 积分:1
-
statements made Applet
java图形报表制作Applet-statements made Applet
- 2022-07-12 12:36:35下载
- 积分:1
-
一个用java编写的很有价值的记忆测试程序.
一个用java编写的很有价值的记忆测试程序.-prepared with a value of the memory test.
- 2022-01-28 18:35:50下载
- 积分:1