登录
首页 » Java » HardWork

HardWork

于 2010-04-27 发布 文件大小:3KB
0 270
下载积分: 1 下载次数: 0

代码说明:

说明:  上转型对象 1.实验目的 掌握上转型对象的使用。 2. 实验要求 要求有一个abstract类,类名为Employee,Employee的子类有YearWorker、MonthWorker和WeekWorker。YearWorker对象按年领取薪水,MonthWorker按月领取薪水,WeekWorker按周领取薪水。Employee有一个abstract方法: public abstract earnings() 子类必须重写父类的earnings()方法,给出各自领取薪水的具体方式。 有一个Company类,该类用Employee数组作为成员,Employee数组的单元可以是YearWorker对象、MonthWorker对象或WeekWorker对象的上转型对象。程序能输出Company对象一年需支付的薪水总额。 (The transformation of the object 1. Purpose of the experiment used to grasp the transformation of the object. 2. Experiment requires a abstract class requirements, class named Employee, Employee of the child class has YearWorker, MonthWorker and WeekWorker. YearWorker object to receive annual salary, MonthWorker receive a monthly salary, WeekWorker receive weekly salary. Employee one abstract method: public abstract earnings () sub-class must override the parent class of earnings () method, given their own specific way of receiving pay. A Company class, such as members with an array of Employee, Employee of the array elements can be YearWorker object, MonthWorker object or objects on the transformation of objects WeekWorker. Company object program can output a year' s salary to be paid the total amount.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • matlab
    porter stemmer developed in matlab based on 1980 porter stemmer algorithm
    2013-05-05 19:24:47下载
    积分:1
  • warm
    一个故障诊断的程序,采用了多种方法,将故障时刻检测了出来,并进行了比较(A fault diagnosis program, using a variety of methods, fault detection out moments, and compared )
    2012-03-02 18:45:35下载
    积分:1
  • IntroductiontoSignalProcessing
    Introduction to Signal Processing 书的源代码,里面有非常多的数字信号处理算法,很多都是工程使用的,理论上也很有参考价值.是用matlab和C语言写的。(Book Introduction to Signal Processing of the source code, there are an awful lot of digital signal processing algorithms, many of which are used in the project, in theory, is also useful reference value.)
    2009-06-28 11:17:55下载
    积分:1
  • getsegy
    该程序属于行业小软件,用于读取二维地震剖面图的segy格式,将其转换成matlab适用的矩形。(The program is part of a small business software for reading 2D seismic profiles of segy format, convert it into matlab applicable rectangle.)
    2015-06-27 12:28:09下载
    积分:1
  • hadamardSim
    ofdm papr haramard with PTS
    2018-03-31 03:30:47下载
    积分:1
  • Sigma-Point-Kalman-Filtering-for
    说明:  sigma点卡尔曼滤波在跟踪中的应用,能够实现较好的跟踪效果(sigma point Kalman filter in tracking application, can achieve better tracking)
    2011-02-18 10:27:38下载
    积分:1
  • ofdm_sim
    说明:  OFDM的仿真,这种技术wimax已经采用,未来的4G肯定也是基于这种技术。附件是源代码,仅供大家参考! (OFDM simulation, WiMAX technology has been adopted as the future 4G is definitely based on the technology. The annex to the source code, only your reference!)
    2005-10-16 18:26:39下载
    积分:1
  • dijkstra
    dijkstra算法的最短路径MATLAB程序 能够有效搜索最短路径(dijkstra shortest path algorithm MATLAB programs can effectively search the shortest path)
    2011-08-17 23:23:50下载
    积分:1
  • EMDs
    经验模态分解(Empirical Mode Decomposition,EMD)法是美国国家宇航局美籍华人黄锷(N. E. Huang)等人于1998年创造性地提出的一种新型自适应信号时频处理方法,特别适用于非线性非平稳信号的分析处理。(Empirical Mode Decomposition (Empirical Mode Decomposition, EMD) method is a new kind of video processing method adaptive signal NASA Chinese-American yellow E (NE Huang), who in 1998 proposed a creative way, especially for non- Linear analysis and processing non-stationary signals.)
    2015-03-27 00:52:13下载
    积分:1
  • moban
    一个模板匹配的程序,得到像素级的匹配位置,并保存匹配后图像(A Programe of resample)
    2010-06-10 20:08:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载