Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Competencies being graded: Ability to read from a text file Ability to use inheritance to create a set of subclasses all inheriting from a common

Competencies being graded:
Ability to read from a text file
Ability to use inheritance to create a set of subclasses all inheriting from a common parent class.
Using polymorphism to create and maintain a single list of the subclasses
Use System.out.println and Scanner to create a user friendly interface into your program
Ability to read an English language problem description and design a multi class solution in Java
Ability to follow given coding standards- in D2L content under Coding Standards.
No static methods are allowed except for main.
Create a program to track the clients of a veterinarian's office. You will need to handle cats, dogs and other types of pets. All pets have a name, an owner's name, an age and a type (category)(cat, dog or other). In addition, dogs have a breed and a color. Cats have an indication of long or short haired, indication of clawed or declawed, and a color. Other pets have a type (snake, bird, lizard, hamster, etc) and an indication of whether or not they require special handling.
Your program will begin by reading a text file (created by you, in a format designed by you) with a minimum of two pets per type to create a list (think ArravList) of the pet clients. That means at a minimum, two dogs, two cats and two other pets Display the client list in a user friendly format, ask if the user would like to find or delete a pet by name. When user is done viewing and deleting, save the changed list back to the original text file (overwriting it). Extra credit for adding new pet via user interface in a user friendly manner (up to 10pts).
Interface to program may be textual or graphic (I don't expect graphics yetl). The program must use inheritance
image text in transcribed

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

Step: 3

blur-text-image

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

Building The Data Warehouse

Authors: W. H. Inmon

4th Edition

0764599445, 978-0764599446

More Books

Students also viewed these Databases questions

Question

Context, i.e. the context of the information presented and received

Answered: 1 week ago