-
在作业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
-
一个消息,看看哦
一个留言本,看看了-a message to see the Oh
- 2022-07-14 16:13:56下载
- 积分:1
-
This application includes a demo server and client program. You could write your...
This application includes a demo server and client program. You could write your own server launcher and client application by using the SimpleScreenCaptureServer class and the SimpleRemoteScreenCaptureClient class.
Usage:
1. Type the following command to launch the server program.
java -jar SimpleCaptureScreenServerDemo.jar portnumber
2. Type the following command to launch the client program. It s a swing-based UI.
java -jar RemoteScreenCaptureClientUI.jar
3. Select Run/Connect menu. Input your server address and port number.
You could just double-click on the RemoteScreenCaptureClientUI.jar to launch the client program if you are using Windows.
This program is written just for fun. :lol: :lol: :lol:
-This application includes a demo server and client program. You could write your own server launcher and client application by using the SimpleScreenCaptureServer class and the SimpleRemoteScreenCaptureClient class.
Usage:
1. Type the f
- 2022-03-24 03:17:06下载
- 积分:1
-
数据库的基本处理类,数据库于javabean交互,数据库为orcal
数据库的基本处理类,数据库于javabean交互,数据库为orcal-database of basic class, in javabean interactive database, the database of orcal
- 2022-04-21 20:17:01下载
- 积分:1
-
ArcObjects GIS应用开发:拷贝当前地图
ArcObjects GIS应用开发:拷贝当前地图-ArcObjects GIS Application Development : Copy the current map
- 2022-03-05 07:49:18下载
- 积分:1
-
ftp网络传输.通过ftp协议下载网络文件内容的java程序.
ftp网络传输.通过ftp协议下载网络文件内容的java程序.-ftp network transmission. Ftp agreement through the contents of the documents downloaded from the network java procedures.
- 2022-03-22 21:16:55下载
- 积分:1
-
一个用java实现的ICQ的源程序
一个用java实现的ICQ的源程序-a java with the realization of the source ICQ
- 2022-12-01 12:00:08下载
- 积分:1
-
用java写的一个论坛
a forum write use java
- 2023-09-05 23:15:06下载
- 积分:1
-
用java的awt和swing自制一个 简单的日历
用java的awt和swing自制一个 简单的日历-make a calendar using java
- 2022-03-19 06:33:51下载
- 积分:1
-
JTree
jtree树
- 2023-08-04 00:25:03下载
- 积分:1