-
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
-
04【熟悉】excel 的导出xls
Excel的导出,主要针对项目中使用到poi的说明........................(Export of Excel, mainly for the description of POI used in projects)
- 2020-06-23 20:00:01下载
- 积分:1
-
man
编写一个接口ICaculatable 接口中有一个doCaculte()方法
要求三个类BlackMan WhiteMan YellowMan实现这个方法
BlackMan 实现从控制台输入5个数 排序(正排)输出
WhiteMan 实现从控制台输入5个数 排序(倒排)
YellowMan 实现从控制台输入5个数 计算总和 输出
写出一个测试类来测试以上类的功能。
测试类中要有void solveProblem(ICaculatable obj)方法进行测试
要求以上类在不同的包当中。(The preparation of an interface, there is a ICaculatable interface doCaculte () method requires three types of BlackMan WhiteMan YellowMan method to achieve this BlackMan input from the console 5, the number of sort (being ranked) output from the console WhiteMan enter the number 5 ranking (inverted ) YellowMan input from the console 5, the number of calculation of the sum of the output type to write a test to test the functions of the above categories. Test category must be void solveProblem (ICaculatable obj) method of the above testing requirements in different types of packages were.)
- 2009-05-16 22:17:27下载
- 积分:1
-
qacwinj
用于查看mol文件的java小应用程序,给大家学习用(For viewing mol files of Java applet, for everybody to learn)
- 2017-07-07 00:59:54下载
- 积分:1
-
UNICOM
说明: 中国联通短信业务开发源码 开发接入程序必须有一定的socket编程基础,
且必须熟悉sgip1.2协议才可以,我应一位网友的要求将我开发的短信接入程序源代码发布,希望对开发短信业务的朋友提供一些帮助,代码可自由传播。(sms sound code)
- 2010-03-24 13:53:28下载
- 积分:1
-
SmartHome2.0
这是一款安卓软件,在之前上传的第一版的基础上,完善了家居控制功能,增加了聊天室、手机电脑实时记录、画板功能等。适用于安卓开发大作业,也可供大创参考(This is Smart Home version2.0)
- 2017-06-21 13:14:22下载
- 积分:1
-
21days
说明: 21天学会java的源代码
它让你轻松学会java 编程
让你轻松成为一个java 程序员(21 days Institute java source code it lets you easily learn java programming lets you easily become a java programmer)
- 2006-03-24 18:25:33下载
- 积分:1
-
GEF-ALL-3.1
eclipse里添加tomcat插件。开发得时候挺方便(add tomcat plugin in eclipse,)
- 2012-08-12 20:31:26下载
- 积分:1
-
java面试宝典(基础篇)
java mainshi baodian chuji pian
- 2020-06-20 01:20:02下载
- 积分:1
-
baidu_liaotian
客户端的聊天内容通过json格式封装(包含聊天内容、发送人信息)之后,HTTP请求百度服务器,即请求把该消息发送到指定id的用户,请求成功之后,百度服务器就把我们的信息转发给指定的用户,对应用户再解析json格式的信息,就可以知道该消息来自何处,以及消息内容。(Chat client via json format package (includes chat, sender information), after, HTTP requests Baidu server, which sends the message to the requesting user specified id, after the request is successful, Baidu server took our information forwarded to the designated users, the corresponding user information and then parse json format, you can know that the message came from, and message content.)
- 2014-01-16 15:47:19下载
- 积分:1