-
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
-
Lab4_Task1
IE3节点的潮流优化,可以进行以网损最小为目标函数进行潮流优化计算,仿真。(IE3 nodes to optimize the trend can be carried out in order to minimize loss to the trend of the objective function for the optimization calculation, simulation.)
- 2009-06-01 09:23:13下载
- 积分:1
-
简单的用vc++做的聊天程序,希望大家喜欢哈!还是很容易懂的!...
简单的用vc++做的聊天程序,希望大家喜欢哈!还是很容易懂的!-Simple to use vc++ to do chat program, I hope everyone likes Ha! Is still very easy to understand in!
- 2022-11-23 10:10:03下载
- 积分:1
-
chailvfei2
说明: 差旅费报销单,公司出差报销的单据,在excel下编的。(Travel claims, the company reimbursed travel documents, in the under excel.)
- 2009-07-30 08:23:10下载
- 积分:1
-
又一个删除IE的历史记录
又一个删除IE的历史记录- Deletes IE the historic record
- 2022-03-26 19:02:20下载
- 积分:1
-
QueryTask
A task that gets suggestions from a corpus.
- 2014-01-15 10:00:59下载
- 积分:1
-
ShutterButton
ShutterButton extends ImageView Source Code for Andriod.
- 2014-02-18 14:16:27下载
- 积分:1
-
MyProject
将彩色位图二值化,包含所有工程文件,编译环境为VC6.0,C++语言编写(The color bitmap binary that contains all the project file, compile environment for VC6.0, C++ language)
- 2009-11-27 09:26:20下载
- 积分:1
-
adjustGPSnetwork
基于带有限制调节的GPS控制网的平差解算。(GPS-based control with adjustable limit adjustment network solver .
)
- 2013-09-23 14:24:39下载
- 积分:1
-
OFDM-MATLAB
可以运行的m4k20功率分配图,mimo功率优化,OFDM典型仿真程序,贪婪算法仿真程序,以及16QAM仿真程序,经过修改的可以使用(M4k20 can run the power distribution map, mimo power optimization, OFDM typical simulation program, greedy algorithm simulation program, as well as 16QAM simulation procedures can be modified to use)
- 2008-06-17 11:17:38下载
- 积分:1