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半期任务