Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago

Question

Did the team members feel that their work mattered

Answered: 1 week ago