Create a Zoo Class and an Animal Class
Make an array of 3 zoo objects. Add 3 animal objects to each ArrayList in the Zoo. Keep track of three things about each animal.
The zoo class will have a constructor that reads in an arraylist of 3 animals. You decide what you want to keep track of with the animals.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment