Question: Design and implement a Java program to create a system that will keep track of pets treated and boarded in an animal hospital. The program

Design and implement a Java program to create a system that will keep track of pets treated and boarded in an animal hospital. The program will maintain a current list of owner and pet records within a given veterinary practice. Owner data for the program includes an owners first and last name, an ID number, an e-mail address (valid emails contain an @ and .), a telephone number and an array of pets owned by the owner.

The array of pets should contain the following: type of pet (dog, cat, bird, lizard, etc), name of pet, reason for visit (illness, checkup, shots, boarding, etc) (the maximum number of pets an individual can own should be five). Error checking of all data is required. The program should allow entry of owner information via the keyboard with the maximum number of owners being 30, but the list can contain less.

Once the data is entered the program should then allow the user to retrieve the entire list of owners along with their pets information or an individual owners information via their ID number. This assignment should use classes and methods.

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 Databases Questions!