-
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
-
contact-management-system
java的通讯录,有查找联系人,添加联系人,显示联系人,保存联系人等功能(contact management system)
- 2016-06-15 15:26:40下载
- 积分:1
-
Thinking_in_Java
学习JAVA从这本书学起,很好的书值得珍藏,希望能给大家一些帮助。(Thinking in Java)
- 2013-10-06 16:39:58下载
- 积分:1
-
BaiduMap_AndroidSDK_v2.1.0_Sample
用最新的百度API写的关于地图的例子,很有启迪意义,有需要的可以研究一下(Write on the map with the latest Baidu API examples, very instructive, need to study)
- 2013-04-14 00:45:28下载
- 积分:1
-
tubehot
电影学习网站,提供给Java基础学习的一个网站。(Movie learning website)
- 2019-04-26 14:22:54下载
- 积分:1
-
NameParser
Name Parser implements String Parser Source Code for Andriod.
- 2013-12-16 11:32:53下载
- 积分:1
-
Spring_0200_IOC_Introduction
java spring的IOC的源码,对学习spring的IOC很有帮助(Java spring IOC source code, to learn spring IOC helpful)
- 2012-12-01 12:54:08下载
- 积分:1
-
Mynfadfa
用于DFA到NFA 的转化.并且能够显示DFA NFA的状态图(convert DFA into NFA)
- 2013-11-17 16:15:49下载
- 积分:1
-
StringBuilder
String Builder extends Abstract String Builder implements Appendable.
- 2014-01-06 14:49:49下载
- 积分:1
-
snmp_demo
BlogJava上不少朋友是做网管系统的。一个典型的网络管理系统,需要具备FCAPS几个标准模块,而网络的自动发现和拓扑展示是核心之一。很多人不喜欢Java的Swing,而本文就用一个很小很小的例子,来模拟一个小小的网络管理程序,希望能给大家一点启发。虽然很小,它却可以完成一个简单的局域网自动发现搜索、多线程、ICMP和SNMP的ping、节点的生成、拓扑的展示、自动布局等功能。继续改巴改巴也许还有点使用价值也未可知。
如果不喜欢研究代码,就当它是一个趣味程序吧!你可以在公司的网络里面搜索一把,把同事的机器都挖出来,看看你们公司的网络结构是怎样的;如果喜欢研究代码,可以看看相关SNMP、多线程和拓扑图展示的部分,虽然很简单,就当看肥皂剧消遣了。(BlogJava on many of my friends are doing the NMS. A typical NMS, requires the FCAPS several standard modules, network auto-discovery and topology display is one of the core. A lot of people do not like the Java Swing, this paper with a very, very small example, to simulate a small network management program, to give everyone a little inspiration. Despite its small size, it can complete a simple local area network auto-discovery search, multi-threaded, ICMP and SNMP ping node generated topology display, automatic layout function. Continue to change the bar to change the bar perhaps point value in use is also unknown.
If you do not like to study the code, when it is a fun program! Inside the company network, you can search for a colleague machines dug up to see what your company s network structure research code if you like, you can take a look at the relevant SNMP, multi-threaded and topology diagram shows part Although very simple, when watching a soap opera entertainment.)
- 2021-03-14 14:09:23下载
- 积分:1