当前位置: 代码迷 >> Java相关 >> JAVA任务求思路
  详细解决方案

JAVA任务求思路

热度:272   发布时间:2011-10-21 01:29:00.0
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  

----------------解决方案--------------------------------------------------------
  相关解决方案