-
在作业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
-
To write a java socket using a radio messenger applet. For the use of java lover...
自己写的一个使用java socket的广播信使的一个小程序。供java爱好者使用!-To write a java socket using a radio messenger applet. For the use of java lovers!
- 2022-10-04 04:40:03下载
- 积分:1
-
jAVA 高级编程,此项目为公司内部项目,非常好
jAVA 高级编程,此项目为公司内部项目,非常好-Senior JAVA programming, this project for the company internal projects, very good
- 2023-02-02 22:25:04下载
- 积分:1
-
This a JavaBean application, which contains 4 beans. In this package, there are...
This a JavaBean application, which contains 4 beans. In this package, there are 4 files:
cexchange.jar(ready to load into BeanBuilder),
readme.txt,
currencyData.txt(data file),
screenshot.jpg(linking beans)-This a JavaBean application, which contains four beans. In this package, there are four files : cexchange.jar (ready to load into BeanBuilder ), readme.txt, currencyData.txt (data file). Screenshot (linking beans)
- 2023-07-04 07:55:03下载
- 积分:1
-
一个java的应用程序,它实现"密码验证"的功能.
一个java的应用程序,它实现"密码验证"的功能.-a java application, it achieved "password verification" function.
- 2022-07-21 20:36:15下载
- 积分:1
-
泽舟网JSP探针 v0.04.rar
泽舟网JSP探针 v0.04.rar-Zezhou net JSP probe v0.04.rar
- 2022-02-20 10:51:50下载
- 积分:1
-
用java语言编写的日历。刚刚开始学习JAVA,菜鸟一名,请多指教,希望各位有经验的大哥大姐指导...
用java语言编写的日历。刚刚开始学习JAVA,菜鸟一名,请多指教,希望各位有经验的大哥大姐指导-Using java language calendar. Just started to learn JAVA, a rookie, please advice, I hope you have the experience to guide Sister Brother
- 2022-02-04 06:37:24下载
- 积分:1
-
beginJsp2.0外文书籍源代码
beginJsp2.0外文书籍源代码-beginJsp2.0 language source code books
- 2022-02-14 23:50:01下载
- 积分:1
-
一个可以显示系统时间的小程序
一个可以显示系统时间的小程序-display system can be a time of small programs
- 2022-01-26 02:40:06下载
- 积分:1
-
电信小灵通短信Java演示程序(内含有手册、Java源码、演示程序),可作为用java开发电信小林gont短信网关代理程序的有用参考。...
电信小灵通短信Java演示程序(内含有手册、Java源码、演示程序),可作为用java开发电信小林gont短信网关代理程序的有用参考。-telecommunications PHS SMS Java Demonstration Program (containing manuals, Java source code, demo program) can be used as a java development of the telecommunications Kobayashi gont SMS Gateway procedures useful reference.
- 2022-03-18 22:10:07下载
- 积分:1