文件名称:6
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:771byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
2、 声明测试类TestStudent完成对多态性的测试:(1)在主方法中声明Student类的数组(含五个元素)。(2)生成五个对象存入数组,其中三个Student类的对象、一个StudentXW类的对象、一个StudentBZ类的对象。(3)将方法testScore()发送给数组的每一个元素,输出结果,并分析具体执行的是哪一个类中的方法。-2, statement completion of testing polymorphisms TestStudent type of test: (1) a statement in the main method of Student class array (including the five elements). (2) to generate the object into an array of five, three of which the object of type Student, a category StudentXW object, the object of a category StudentBZ. (3) methods testScore () sent to each element of the array, the output results and analysis of the specific implementation of a class in which the method.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
6/yingyu.txt
6/yingyu.java
6
6/yingyu.java
6
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
