-
在作业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编的mp3播放器,可拖动进度条,可静音,有示波显示
java编的mp3播放器,可拖动进度条,可静音,有示波显示-java series mp3 player, can drag the progress bar may be mute, has Oscillographic show
- 2022-06-30 18:42:05下载
- 积分:1
-
用java写的一个使用jdbc访问oracle数据库的接口类,以及一个简单的测试类。有不太了解这块又用到的xdjm可以看下。
谢啦...
用java写的一个使用jdbc访问oracle数据库的接口类,以及一个简单的测试类。有不太了解这块又用到的xdjm可以看下。
谢啦-Using java to write an access oracle database using jdbc interface type, as well as a simple test category. Have do not quite understand this also can be used xdjm facie.谢啦
- 2022-07-05 04:05:21下载
- 积分:1
-
使用j2me实现二级菜单,有利于页面的扩展,有利于开发
使用j2me实现二级菜单,有利于页面的扩展,有利于开发-Use j2me to achieve the secondary menu is conducive to the expansion of the page and is conducive to the development of
- 2022-04-15 17:21:04下载
- 积分:1
-
《Java2范例入门与提高》源码
《Java2范例入门与提高》源码-"Java2 example entry and improve" FOSS
- 2022-04-27 04:24:32下载
- 积分:1
-
employee类,corejava
employee类,corejava-employee category, corejava
- 2022-01-26 05:36:40下载
- 积分:1
-
一个基于Struts架构,运用最新Ajax技术实现的SuggestText效果。实现了省、地市、区县三级联动文本Suggest选择,可根据输入的简拼自动弹出下拉...
一个基于Struts架构,运用最新Ajax技术实现的SuggestText效果。实现了省、地市、区县三级联动文本Suggest选择,可根据输入的简拼自动弹出下拉提示,这样的效果在Web开发中只有用Ajax才能实现,所有数据都从SQL2000数据库动态取得,并且没有刷新页面。-a framework based on Struts. Ajax use the latest technology to achieve the SuggestText effect. Implementation of the province, prefecture, city, county three linkage text Suggest choice, can be imported under the automatic ejection+7.0 drop-down tips This results in Web Development Only Ajax can be achieved, all data from the database dynamic SQL2000 made, and no page reloads.
- 2022-04-27 11:09:02下载
- 积分:1
-
这个可以算是我第一个用Java写的应用程序,界面使用了AWT。功能非常简单,但通过它使我“懂”得了Java。 它的功能是颜色的十进制与十六进制间的转换。...
这个可以算是我第一个用Java写的应用程序,界面使用了AWT。功能非常简单,但通过它使我“懂”得了Java。 它的功能是颜色的十进制与十六进制间的转换。-this can be considered as the first one I used to write Java applications, the use of AWT interface. Functional very simple, but I passed it "understood" gaining Java. It is the function of the color of hexadecimal and decimal the conversion.
- 2022-03-21 21:42:58下载
- 积分:1
-
对于java类文件覆盖测试工具的正确
这个工具用于对JAVA的类文件进行覆盖率的测试-the right tools for the Java class files coverage test
- 2023-05-17 23:50:03下载
- 积分:1
-
java to achieve campus navigation system, navigation system for the school
java实现的校园导航系统,为本校导航系统-java to achieve campus navigation system, navigation system for the school
- 2022-02-26 22:00:04下载
- 积分:1