Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

determine the input, process, and output requirements for the class NuArrayList and the demonstration class 1. How will you make the class 'aware' of the

determine the input, process, and output requirements for the class NuArrayList and the demonstration class

1. How will you make the class 'aware' of the minimum and maximum values it contains?

2. List any additional data members (fields) or methods to be implemented as part of the class to meet the requirements?

Inputs

3. How will you generate the 3 types of random data?

Outputs

4. The ArrayList class has a toString() method. Should it be used, overridden or ignored? How will you display the values contained in a NuArrayList object?

Design

5. Create a flowchart for the min method

6. Create a flowchart for the max method

7. Using draw.io or another drawing tool, create a UML class diagram illustrating the class hierarchy of the NuArrayList class including all classes and interfaces. Export your flowcharts and UML as image files (jpeg or png)

For classes or interfaces provided by Java:

List the package with the name, e.g. java.util.ArrayList

Do not include fields (data members) or methods

For the NuArrayList class to be created

List the package with the name, e.g. nusoft.util.NuArrayList

Include ALL fields (data members) 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

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions