-
Employee
创建四个类,分别为Employee类、SalariedEmplyee类、HourlyEmployee类和CommissionEmployee类。其中Employee类是其他三个类的父类。Employee类包含姓名和身份证号。除此之外,SalariedEmployee类还应包含每月工资;HourlyEmployee类还应包含每小时工资数和工作时间数;CommissionEmployee还应包含提成比例和销售总额。每个类都应有合适的构造方法、数据成员的设置和读取方法。编写一个应用程序,创建这些类的对象,并输出与对象相关的信息。注意子类有时需调用父类的构造方法和被覆盖的方法,成员变量定义为private,对有些方法实现重载。
(Create four categories, namely the Employee class, SalariedEmplyee class, HourlyEmployee classes and CommissionEmployee classes. Employee class is the parent class where the other three classes. Employee class contains the name and ID number. In addition, SalariedEmployee class also includes a monthly salary HourlyEmployee class should also include the number of hourly wages and the number of working hours CommissionEmployee should also include the proportion and total sales commission. Each class should have the right to set and read the constructor method, data members. Write an application to create objects of these classes, and output information associated with the object. Sometimes need to call attention to a subclass of the parent class constructor and methods are covered, member variables defined as private, to achieve overloading of some methods.)
- 2013-11-27 11:43:06下载
- 积分:1
-
new 1
增删改除用于将学生的成绩录入电脑并可删除或修改学生的成绩(Addition, deletion and modification)
- 2018-06-26 08:54:34下载
- 积分:1
-
Get_loop
用于求网络中从某一节点开始形成环路到该节点结束的节点编号。对于求路径的问题会有一定的帮助(Used to find a node the network began to form a loop to the end node node numbers. To seek the path of problem would certainly help)
- 2016-04-18 17:00:09下载
- 积分:1
-
iQQ_beta1.02
仿QQ 在linux下的源码,你懂的。。。。。。。
- 2013-03-15 09:41:21下载
- 积分:1
-
NMI
NMI标准互信息,JAVA实现,用于重叠社区或是其他聚类评价(normal mutual information,using java language)
- 2020-12-27 16:49:02下载
- 积分:1
-
Arcgis
Arcgis 资料文档。包含基础教程和Arcgis Server 10.1使用教程。(materials about Arcgis, including Arcgis basement class and user manul of Arcgis server)
- 2014-09-22 10:50:29下载
- 积分:1
-
JAVA-mianshi
java程序员参考资料,JAVA的一些基本内容(java programming materials,reference of JAVA development test)
- 2011-12-15 13:28:54下载
- 积分:1
-
java使用Xuggler获得视频信息
java中使用Xuggler获得视频信息,包括文件大小,屏幕分辨率等(Java uses Xuggler to get video information)
- 2020-06-29 12:40:02下载
- 积分:1
-
HiveJdbcClient
hive java apihive java apihive java apihive java api(hive java apihive java apihive java api)
- 2014-06-23 14:36:56下载
- 积分:1
-
EllFi
It help you to find the center of an ellipse
- 2009-03-27 06:47:52下载
- 积分:1