-
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
-
Exp_Tab
可以实现安卓中TabHost选项卡的功能,并且用意图进行跳转(Can realize the function of the TabHost TAB in the android, and with intention to jump)
- 2013-12-19 11:24:05下载
- 积分:1
-
dmzqzd_downcc
说明: 代码简洁之道,主要对代码编写的规范型,命名的合理性进行讲解(Code concise way, mainly code preparation of the standard type, the rationality of naming on)
- 2020-06-16 13:40:02下载
- 积分:1
-
sztpre-file
一个简单的JAVA实例,取得目录的文件信息(A simple JAVA example, the directory file information)
- 2017-06-28 11:34:21下载
- 积分:1
-
JAVA-CTPAPI-master
说明: 源码和依赖的jar包都在压缩文件里 test目录下有行情的demo,交易部分的API还没完全做好,可以连上前置和登录 这个java接口算是预览版吧(Source code and dependent jar packages are all demo in the test directory of the compressed file. The API of the transaction part is not yet complete. You can connect the pre-and login java interface as a preview version.)
- 2019-03-19 17:51:12下载
- 积分:1
-
j3d_tutorial_ch3
Getting Started with the Java 3D API
- 2014-02-12 09:37:31下载
- 积分:1
-
market-system
小型超市管理系统基于那个java开发程序设计的应用(Small supermarket management system based on the java application development process design)
- 2013-12-24 22:49:11下载
- 积分:1
-
debug-constructor
Test debug event for constructor.
- 2014-02-02 21:56:26下载
- 积分:1
-
Java进阶篇课设
实现扑克牌,一副牌中抽去大小王剩下52张(如果初练也可只用1~10这40张牌),任意抽取4张牌(称牌组),用加、减、乘、除(可加括号)把牌面上的数算成24。每张牌必须用一次且只能用一次,如抽出的牌是3、8、8、9,那么算式为(9-8)×8×3或3×8+(9-8)或(9- 8÷8)×3等。(In order to realize playing cards, 52 cards are removed from a deck (only 40 cards can be used for the first practice). Four cards are randomly selected (called card groups). The number on the deck is calculated as 24 by adding, subtracting, multiplying and dividing (brackets can be added). Each card must be used once and only once. If the drawn card is 3, 8, 8, 9, the formula is (9-8)*8*3 or 3*8+ (9-8) or (9-8 8)*3)
- 2020-12-31 16:18:59下载
- 积分:1
-
2333
本文将用一系列易懂的语言和例子解释Java的网络Socket支持。(This article will use a series of easy-to-understand language and examples to explain the network Socket support Java.)
- 2009-06-19 04:14:15下载
- 积分:1