Description: Programming: Animal queue
Requirements: In a team of animals in cats, dogs, and horses in three different animal (the order, the number and proportion is random),
Now requires the ability to make three points to their own kind of animal animals contingent.
(Note: Write a base class Animal inside a name, age attribute (randomly generated name and age) and abstract showInfo methods
Then write a subclass of Dog, Cat, Horse to inherit this base class Animal, Animal then randomly instantiates 20 Dog, Cat, Horse class
Stored in a list, create three lists, iterate the above list, add them to your list of classification and call showInfo (),
Show what each animal, name Age. ) (5 points)
2. Write a program, create a HashMap object, adding 10 students names and achievements: test1: 90 points test2: 83 minutes .. test10: 70 points.
Then retrieved the HashMap iteration their names and achievements, and then changed test5 score 10
To Search:
File list (Check if you may need any files):
11\.classpath
..\.project
..\bin\chen.class
..\...\example001\Animals.class
..\...\..........\Cat.class
..\...\..........\Dog.class
..\...\..........\Horse.class
..\...\..........\ShowInfor.class
..\...\example001
..\...\.........2\Student.class
..\...\example002
..\...\........3\FileDemo.class
..\...\example03
..\...\........4\Student
..\...\.........\Student.class
..\...\example04
..\bin
..\src\chen.java
..\...\example001\Animals.java
..\...\..........\Cat.java
..\...\..........\Dog.java
..\...\..........\Horse.java
..\...\..........\ShowInfor.java
..\...\example001
..\...\.........2\Student.java
..\...\example002
..\...\........3\FileDemo.java
..\...\example03
..\...\........4\Student
..\...\.........\Student.java
..\...\example04
..\src
11