JAVA Monitoring System as a Zookeeper home / study / engineering / computer scie
ID: 3572904 • Letter: J
Question
JAVA Monitoring System as a Zookeeper
home / study / engineering / computer science / questions and answers / * in java * option 2: monitoring system as a zookeeper, ...
Question: * In Java * Option 2: Monitoring System As a zooke...
Bookmark
* In Java *
Option 2: Monitoring System As 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 file
- 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 line starting with *****. Do not display the asterisks in the dialog.)
- Allows a user to return to the original options
animals.txt file:
habitats.txt file:
Explanation / Answer
replace child as animals in the code
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.