| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 511 人关注过本帖
标题:JAVA任务求思路
只看楼主 加入收藏
fox19891989
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2010-3-16
结帖率:0
收藏
已结贴  问题点数:0 回复次数:1 
JAVA任务求思路
The class hierarchy starts from some abstract class (or even some interface) and continues with levels of subclasses (see the classification principles in Wikipedia or elsewhere).
For example, you can start from an abstract class or interface Animal and continue with its yet abstract subclasses Mammal, Bird, Insect … Try to reach at least to non-abstract subclasses Dog and Cat and why not, Human too.
Add a simple sample Java application (main class) which performs sequentially input/output operations and creates concrete animal objects (such as your cat, neighbor’s dog and some fellow students):
    use JOptionPane.showInputDialog method for data input;
    use JOptionPane.showMessageDialog method for data output;
    use array as the simplest data structure for storing the animals as Java objects.


这个题目,数据输入和输出要干什么,最后一句这个是什么意思,我不知道如何做:use array as the simplest data structure for storing the animals as Java objects.求高人指点,JAVA半期任务
搜索更多相关主题的帖子: principles elsewhere interface abstract continue 
2011-10-21 01:29
付政委
该用户已被删除
收藏
得分:10 
提示: 作者被禁止或删除 内容自动屏蔽
2011-10-21 09:31
快速回复:JAVA任务求思路
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016141 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved