Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Intro To Algorithmic Design ll I need help doing this please Remember to upload all related .java files (your class files). You are allowed up

Intro To Algorithmic Design ll

I need help doing this please

Remember to upload all related .java files (your class files). You are allowed up to 2 submitted files. These should be your class file and your class tester file.

You are welcome to use Array lists to test your class (this will give you practice creating, storing, and accessing lists).

Things You Should Have

1) Class setup, 2) Class description, Javadoc comments, and convention, 3) Code and Logic, to include class setup (setter, getter completion), relationships, and polymorphism and 3) Compile - demo of class and class relationship, appropriate coverage

image text in transcribed
Create a class definition of your choosing. This class definition should be the most basic definition for the object that you choose. For instance, should you choosc a car, you would not create a "hybrid car class", because that is not the purest definition you could create for a car (i.e., there are cars that are not hybrid). Before you make the choice, think of all of the characteristics of the class. Also, how would the class behave. Once you have in mind the types of items that can be grouped together, then choose the highest level class or group In the header of your file containing your class definition, explain why you designed the class in your particular way (This need only be here for this first part of the project). Why did you choose the attributes (or why are they appropriate), the methods, and how the class might be useful for a user? Once you have this information, the write the definition using proper formatting (Javadoc comments, setters, getters) Testing the class Once you have your class, you will write a test program (a main) to show that you are able to create viable objects. You should be able to set values for the attributes provided by a user and get the values from the interface to display for the user [output should be formatted]. For this part, you should think of how you would handle or store information for your class..especially as it grows in future parts. For instance, will you manage an inventory system based on your class? A parking system? A registry

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions