-
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
-
ck
说明: 物流管理系统的毕业论文,有详细的使用教程,供大家学习。(The graduation thesis of the logistics management system has a detailed course of use for everyone to learn.)
- 2018-03-20 11:16:42下载
- 积分:1
-
jdbc_02
语言环境:Eclipse Java
学生管理系统连接数据库进行(environment:Eclipse
Student Management System Connecting with Database)
- 2020-06-24 22:40:01下载
- 积分:1
-
com.alibaba.javaStandard
阿里巴巴Java开发手册(正式版),一共5部分,主要是对Java开发时的一些规范及建议(Alibaba programs the standard)
- 2017-03-09 15:10:25下载
- 积分:1
-
GPS软件接收机(鲁郁)
说明: 本文件是《GPS全球定位接收机-原理与软件实现》(电子工业出版社,鲁郁著。)的配套源程序,希望能给学习GPS的同学带来帮助哦!(This document is "GPS global positioning receiver - principle and software implementation" (Electronic Industry Press, Lu Yu) The supporting source program, I hope to help students learn GPS Oh!)
- 2020-03-07 20:42:22下载
- 积分:1
-
飞机大战网络版
网络版JAVA版飞机大战,自己在学习JAVA网络开发时写的小栗子(Network version JAVA version of the aircraft war,Xiao Chestnut Written by myself in Learning JAVA Network Development)
- 2020-07-04 03:20:02下载
- 积分:1
-
Escap
对中文进行编码解码JAVA类,支持跨平台,跨容器使用,非常好用(coding and encoding)
- 2012-12-17 10:45:27下载
- 积分:1
-
ODB_EER_JOOP
natural language query processing-abstract
- 2012-08-20 07:51:42下载
- 积分:1
-
spring-study
说明: spring学习程序,用于学习新技术,使用JAVA语言,IDEA环境(spring study procedure, use java)
- 2020-06-21 17:40:01下载
- 积分:1
-
RpcEpis2
a basic rpc java example
- 2011-01-19 17:32:04下载
- 积分:1