Prompt:
Option 2: Monitoring SystemAs a zookeeper, it is important to know the activities of the animals in your care and to monitor their living habitats. Create a monitoring system that does all of the following
Asks a user if they want to monitor an animal, monitor a habitat, or exit
Displays a list of animal/habitat options (based on the previous selection) as read from either the animals or habitats fileo Asks the user to enter one of the options
Displays the monitoring information by finding the appropriate section in the file
Separates sections by the category and selection (such as "Animal - Lion" or "Habitat - Penguin")? Uses a dialog box to alert the zookeeper if the monitor detects something out of the normal range (These will be denoted in the files by a new linestarting with *****. Do not display the asterisks in the dialog.)
Allows a user to return to the original options
Guidelines:
. Program: Your working program should include all of the specified requirements. The comments within your program will count toward theassessment of the documentation aspects of your submission
.A. Functionality
1. Input/Output: Your program reads input from the user and uses system output.
2. Control Structures: Your program utilizes appropriate control structures for program logic.
3. Libraries: Your program utilizes standard libraries to pull in predefined functionality
4. Classes Breakdown: Your program is broken down into at least two appropriate classes.
5. Methods: Your program utilizes all included methods correctly within the classes
6. Error Free: Your program has been debugged to minimize errors in the final product. (Your program will be run to determine functionality.)
Attachment:- Java code.rar