登录
首页 » Java » Employee

Employee

于 2013-11-27 发布 文件大小:16KB
0 165
下载积分: 1 下载次数: 6

代码说明:

  创建四个类,分别为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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • book
    自己编写的一款利用C++MFC制作的通讯录。不怎么完善。。见谅。(I have written a book produced by the use of C++MFC. Not very perfect. . Forgive me.)
    2013-06-08 15:17:00下载
    积分:1
  • 又个用Winsock控件发送Email的例子
    用WINSOCK控件实现的发送电子邮件的例子(using Winsock Control to achieve the email example)
    2005-05-14 17:26:19下载
    积分:1
  • personal website management system functions : 1. Add two individual students. B...
    个人同学录管理系统 功能:1.添加单个同学 2.批量添加同学 3.精确查询 4.直接修改 5.单个删除 6.批量删除 7.可以直接GO到达你想到达的页 8.分页显示 9.修改密码-personal website management system functions : 1. Add two individual students. Batch added three students. Query 4. 5 directly alter. Six single deleted. Batch delete seven. GO can reach you directly to the arrival of eight pages. Pagination 9. Changes secret Codes
    2023-06-15 18:50:03下载
    积分:1
  • wenziyuan
    说明:   仿windows文件管理器 ,有多标签,你可以打开海量标签,不拥挤,不杂乱,有强大而细致的标签管理,真正实现单窗口操作,多窗口切换,功能上windows该有的都有,没有的也有,比windows只强不弱,你会离不开它,有delphi7源代码。 本程序已实现了 ShellTreeView 和 ShellListView 所有用法,包括 排序,显示隐藏文件,显示扩展名,过滤,右键粘贴,等原先没有的功能,是极佳的参考资料,你可以轻易修改我的程序,创建自己的文件管理器。(Like windows file manager, a number of labels, you can open the mass label, not crowded, not cluttered, with a strong and detailed labeling regulations, the real single-window operation, multi-window switch function of the windows and some have not There are also more than just strong not weak windows, you can not do without it, there delphi7 source code. This procedure has been achieved and ShellTreeView all ShellListView usage, including sequencing, Show hidden files, show extensions, filters, right-paste, etc. is not the function of the original, is an excellent reference, you can easily modify my program to create its own File Manager.)
    2009-08-02 16:26:58下载
    积分:1
  • prepared using the API function procedures, the document can be achieved free!
    利用API函数编写的程序,可以实现文件的自由传送!-prepared using the API function procedures, the document can be achieved free!
    2023-06-02 23:25:03下载
    积分:1
  • jk3d
    说明:  克里金插值算法的实现,包括3D的插值算法(Implementation of Kriging algorithm)
    2019-05-23 16:45:20下载
    积分:1
  • webBookSell
    用JSP实现的一个网上书店的程序,其中采用了多种数据技术。是一个有典型意义的网页程序(an online bookstore in the procedures, which use a variety of data technology. It is a typical procedure website)
    2020-12-07 16:49:22下载
    积分:1
  • conquer_web_2.0
    第2章 基于Ajax的留言板示例 第3章 JavaScript在Ajax中的作用范例 ……………… 第20章 程序描述:本章将实现上传文件时显示进度条的功能。当上传文件时,客户端同时显示文件上传的进度,从而及时了解文件传送情况(Chapter 2 on the message board Ajax example, Chapter 3 of JavaScript in Ajax for the using examples ... ... ... ... ... ... Chapter 20 proceedings Description : The chapter will achieve upload documents show the progress of the function. When upload documents, the client also shows that the progress of file uploads, so the time to understand the transmission of documents)
    2006-11-07 21:56:50下载
    积分:1
  • Malloc_Implementaion
    详细解析MALLOC/free;New/delete内部实现机制,以及实现。(Detailed analysis MALLOC/free New/delete internal implementation mechanisms, and implementation.)
    2013-11-17 18:55:32下载
    积分:1
  • atlppc
    WTL 7.1 and higher PPC classes and functions in atlppc.h enjoy it!(WTL 7.1 and higher PPC classes and function 's in atlppc.h enjoy it!)
    2007-05-06 16:17:13下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载