-
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
-
mybatis02
纯练习式mybatis,第二节小练习,适合初学者,还会第三节,期待下载(Pure exercise type mybatis, Section II small exercises, suitable for beginners, but also the third quarter, and look forward to download)
- 2014-09-01 22:23:09下载
- 积分:1
-
Azureus_2.3.0.4_source
Azureus_2.3.0.4_source code about bittorrent P2P protocol
- 2014-11-04 12:33:20下载
- 积分:1
-
数据结构与算法
JAVA版数据结构与算法,包括代码,图解算法,pdf文档等(Data Structure and Algorithms of JAVA Edition)
- 2019-06-30 10:21:31下载
- 积分:1
-
ppt
这是一个用来用手机操控电脑上的ppt的一个源码,挺有意思的,可以用来做参考(thiao this is a android ffio fjdiofj
fjia ofji afjifjidjifiroagjiorajpo)
- 2015-05-05 15:41:18下载
- 积分:1
-
软件开发常用词汇
说明: java开发常用单词,北京尚学堂出品。。。。。。(Java develops commonly used words, which are produced by Beijing Shangxue School.)
- 2019-04-30 20:15:34下载
- 积分:1
-
1
说明: java code for multithreading, queue implementation using stacks and stacks using arrays
- 2010-12-04 01:58:28下载
- 积分:1
-
java3
java的课程实验,适合初学者。
都是上java专业课时候的实际实验内容,有源码。这是第三部分(完结)(java course experiments, suitable for beginners. When specialized courses are on the java content of the actual experiment, there is source code. This is the third part (End))
- 2009-11-01 01:23:38下载
- 积分:1
-
surferService.src
java调用surfer,生成等值面!!!!(polygon java surfer!!!)
- 2018-02-08 13:31:27下载
- 积分:1
-
Java 窗口程序Demo
海康威视 java 窗口程序 demo(hikivision java demo)
- 2018-01-28 15:57:41下载
- 积分:1