Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ITEC 3 1 5 0 Homework # 1 Intermediate Programming Review Coding standards note: The coding standards are in a document in a D 2

ITEC 3150
Homework #1
Intermediate Programming Review
Coding standards note: The coding standards are in a document in a D2L module titled Coding
Standards. See Grading Criteria for points lost if not followed.
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.print!In 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 (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 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 ArrayList) 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 yet!). The program must use
inheritance
User interface must be minimally user-friendly.
Turn in: All Java files - should be a minimum of 4(four) separate classes. More is fine. Text file
containing your minimum 6 pets.
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

Progress Monitoring Data Tracking Organizer

Authors: Teacher'S Aid Publications

1st Edition

B0B7QCNRJ1

More Books

Students also viewed these Databases questions

Question

Explain how empowerment heightens employee motivation.

Answered: 1 week ago

Question

The models used to analyse different national cultures.

Answered: 1 week ago

Question

The nature of the issues associated with expatriate employment.

Answered: 1 week ago