-
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
-
TankBattle
说明: 一个Java小游戏,采用多线程技术,游戏难度可以自行调整(A Java game, using multi-threading technology, the difficulty of the game can be adjusted by itself.)
- 2020-06-22 15:00:02下载
- 积分:1
-
JSP教务管理系统
JSP+STRUTS+MYSQL做的教务管理系统,内有数据库,容易配置(JSP+STRUTS+MYSQLJSP+STRUTS+MYSQLJSP+STRUTS+MYSQLJSP+STRUTS+MYSQL)
- 2020-06-26 00:20:02下载
- 积分:1
-
des-java
java GUI examples with easy coding i hope you too find it usefull
- 2010-02-06 19:31:55下载
- 积分:1
-
波迅+BHU-5G+网桥+编程器固件+AR9344芯片.bin
ar9344网桥固件波讯波迅+BHU-5G+网桥+编程器固件+AR9344芯片.bin(Ar9344 bridge firmware wave wave fast +BHU-5G+ bridge + programmer firmware +AR9344 chip.Bin)
- 2020-08-01 19:28:36下载
- 积分:1
-
Japanese-games
这是在国外的一个网站找到的小日本写的,具体效果看我源码出处吧 (This is a site in a foreign country to find a small Japanese writing, the specific effect of the source code to see me right)
- 2013-09-03 15:38:47下载
- 积分:1
-
Eas
Constants used throughout the EAS implementation are stored here.
- 2014-02-17 13:38:51下载
- 积分:1
-
ch06
这是一个关于java学习的视频教程,详细的介绍了java的基础知识的学习.(This is a java tutorial to learn about the video, details about the java of learning.
)
- 2010-09-29 18:16:04下载
- 积分:1
-
xp
说明: 这是一个基于静态页面实现数据传输简单小票程序。(Simple Ticket Page)
- 2020-06-22 19:20:01下载
- 积分:1
-
Database-connection-pool-using-steps
数据库连接池的使用步骤,比较有用,如果忘记的朋友可以看看。本人自己写的。(Database connection pool using steps, more useful, if you forget the friends can see. I wrote it myself.)
- 2013-10-31 23:22:47下载
- 积分:1