登录
首页 » Java » Employee

Employee

于 2013-11-27 发布 文件大小:16KB
0 225
下载积分: 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 个回复

  • DenseNet201
    说明:  DenseNet201卷积神经网络训练模型,python语言编程,粗略训练,入门难度。(DenseNet201 convolutional neural network training model, python programming, rough training, entry difficulty.)
    2020-05-18 21:01:32下载
    积分:1
  • PcsMgr
    Windows任务管理器,VC++开发的任务管理器(Windows Task Manager, Task Manager VC++ development)
    2012-07-25 21:58:30下载
    积分:1
  • transformers
    Transformer fault analysis using PSCAD.
    2014-07-20 10:54:03下载
    积分:1
  • yhxie_1
    Many people have contributed to the production of this dissertation, although only my name appears on the cover. Hence, I absolutely owe my gratitude to all those people who encouraged and helped me to nally nish this dissertation. My deepest gratitude is to my advisors, Professor Jing Sun and Professor James S. Freudenberg, at the University of Michigan. Their consistent encouragement and support helped me overcome many challenges and nish this dissertation. I am extremely thankful to Professor Chunting Mi. I spent almost one year in his power electronics lab to build our hybrid power system testbed which has signi cantly contributed to this dissertation. I am also thankful to Professor Ryan Eustice for his constructive comments and suggestions.
    2012-11-28 18:18:40下载
    积分:1
  • 基于linux的PPPoe驱动的实现,非常好,阅读之后,感觉很好,特此与大家共享...
    基于linux的PPPoe驱动的实现,非常好,阅读之后,感觉很好,特此与大家共享-Linux-based Realization of PPPoE driver, very good, after reading, feel good, and would like to share with everyone
    2022-03-29 20:05:34下载
    积分:1
  • virtqal
    一个关于系统的JAVA源码 里面有详细的说明和模拟售票系统程序(A system about JAVA source with detailed instructions and simulate the ticketing system program)
    2017-03-18 16:22:58下载
    积分:1
  • javastore
    仓库管理系统,JAVA语言+SQL数据库 (Warehouse management system, JAVA+ SQL database language)
    2013-09-24 04:16:43下载
    积分:1
  • Dibcom_dib8090
    it is the driver of dvb-t stb device on based by dib8090 chipset(it is very useful for stb designer)
    2014-02-24 13:41:11下载
    积分:1
  • MyCalendar
    Java万年历系统,带有记事本功能,界面友好,代码注释详细,适合初学者借鉴学习。(The Calendar with NotePad。)
    2012-02-27 16:07:51下载
    积分:1
  • 偵測UDP封包
    偵測UDP的封包 是固定的PORT BROADCAST的封包 自動開啟網頁 主要用於firmeare upgrade
    2022-04-20 22:35:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载