Question: create a zoo.java Create an Animal class with the properties name, age, and species. Include a constructor, getters, and setters. Develop four subclasses: Hyena, Lion,

create a zoo.java Create an Animal class with the properties name, age, and species. Include a constructor, getters, and setters. Develop four subclasses: Hyena, Lion, Tiger, and Bear, each with unique features. Data Structures: Use ArrayList for storing animal instances and HashMap for counting species., list each animals by species, their names, ages, and the total count of each species. Control Structures & OOP Design: Apply loops, conditionals, encapsulation, inheritance, and polymorphism as specified. Design and implement the Animal class and its subclasses. Process animal instances from the input file using Java data structures. Output a report with the format specified. PLEASE SHOW EVERYTHING

this is just an example . no classwork as my own its a study for midterm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!