-
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
-
MineSweeper
Java 实现的扫雷小程序,有可爱的图片贴图。(java mine sweeper)
- 2013-09-27 09:25:05下载
- 积分:1
-
ODB_EER_JOOP
natural language query processing-abstract
- 2012-08-20 07:51:42下载
- 积分:1
-
Java API文档中文版
java api文档 中文版的 适合刚入门的 编程时可查阅相关内容(The Chinese version of the Java API document can be consulted when programming for beginners)
- 2020-06-22 16:40:02下载
- 积分:1
-
ADBServerNeedRestartException
Convert integer format IP into xxx.xxx.xxx.xxx format for Andriod.
- 2013-10-06 00:42:43下载
- 积分:1
-
jgame-code-civi-students3k
Civilization game source code in Java: This game is a single or multiplayer strategy game. The player’s character is depends on the ruler of a civilization. It is a simple java game which is also developed for Android device platforms. Yeah! This game supports the android mobile devices as well.
- 2014-02-09 12:55:12下载
- 积分:1
-
Windows
这是一个最简单的通信软件 里面包含了一些基本的通信知识(dfsffsd)
- 2009-02-19 19:56:30下载
- 积分:1
-
Hibernate3.2
Hibernate3.2英文版帮助文档英文版帮助文档(Hibernate3.2 English English help file to help documentation)
- 2011-05-17 09:54:03下载
- 积分:1
-
parking_dao
说明: 自己学习ssm框架并根据课题开发的小系统,这是dao模块(learn framework of ssm by myself)
- 2020-06-18 22:00:01下载
- 积分:1
-
XWeb
jxta应用的一个范例(an example of JXTA applications)
- 2004-06-10 16:56:08下载
- 积分:1