-
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
-
ShanghaiBus
一个java应用程序,实现公交换乘的信息查询功能,是个很好的学习案例,从中可以学习javaGUI编程,并且可以进一步巩固java学习(A java application, to achieve bus transfer information inquiry function, is a good case study, from which we can learn javaGUI programming, and can further consolidate learning java)
- 2013-10-09 21:25:30下载
- 积分:1
-
AccountSetupOptionsTests
Tests of basic UI logic in the AccountSetupOptions screen for Andriod.
- 2013-10-06 00:29:52下载
- 积分:1
-
2
说明: 关于Java的一个小程序!他是我平时编的,希望对大家有用,谢谢!(On a small Java program!)
- 2010-05-29 08:29:01下载
- 积分:1
-
Number
java练习的源代码,我的初始学习,请多多关照(java source code of practice, my initial study, please take care of)
- 2009-03-07 22:20:46下载
- 积分:1
-
ordermeal
Java课程设计,一个基于socket套接字编程的局域网订餐系统,C/S结构,客户端可以查看菜单,下订单,服务器端接受订单。(Java curriculum design, a socket-based ordering system LAN socket programming, C/S structure, the client can view the menu, order, the server taking orders.)
- 2015-08-05 09:00:47下载
- 积分:1
-
ClientUpdate
eclipse rcp 客户端 自动更新,下载后调试后即可(eclipse rcp self update)
- 2013-08-26 10:24:52下载
- 积分:1
-
10_4
八大行星运转,有八个行星的代码,以及它们相互之间的关系等等(failed to translate)
- 2009-06-24 22:41:26下载
- 积分:1
-
TextEditorModel
Testing this script will compile without stack overflow
- 2014-02-09 13:17:12下载
- 积分:1
-
school
这是本人的j2ee期末课程设计,是根据校方需求,为其所作的学校事务及教学信息管理系统,可以进行后台登陆的增删改查。功能比较完善。(This is the end of my j2ee curriculum design is based on school needs, for the school affairs and teaching information management system, can change the background investigation landing deletions. Function relatively perfect.)
- 2009-12-28 09:10:45下载
- 积分:1