Question: HA # 3 Topics: class, object, instantiation, methods, inheritance Problem Statement: Zoo In this assignment, you are going to model and implement a Zoo class.
HA #
Topics: class, object, instantiation, methods, inheritance
Problem Statement: Zoo
In this assignment, you are going to model and implement a Zoo class. This will be an objectoriented program that processes few zoo animal data and displays information about the zoo
animals. This assignment exercises the concept of container class, object, inheritance and code
reusability using super
Each animal in the zoo has the following information
Name AnimalType Species Mass
Explanation:
o Name: The animals individual name. Contains no white space.
o AnimalType: The type of animal. One of: Mammal or Reptile
o Species: The animals species. Contains no white spaces
o Mass: The animals mass weight in pounds. A whole number
Here are examples of first lines of animal data records:
Bob Mammal Bear
Lucy Reptile Lizard
The additional data depends on the AnimalType:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
