Question: Introduction to Computing 2 Spring 201 8 Lab 2 : A Basic Array Manipulator University of Bridgeport Spring 2018 Instructor: Subrina Thompson 1 Problem Statement

Introduction to Computing 2

Spring

201

8

Lab 2

:

A Basic Array Manipulator

University of Bridgeport

Spring 2018

Instructor: Subrina Thompson

1

Problem Statement

1.

We want to store some numbers into an array.

2.

We want to be able to perform actions on these numbers. For example:

a.

Add/Insert

b.

Delete/Remove

c.

Find/Search

d.

Display/Print

Your assignment:

(a)

Create a storage

User-defined class

(b)

Allow the user to manipulate the data by adding methods mentioned abo

ve

(c)

Test your solution by creating a driver program that will test the func

tionality you provided in your user-defined

class.

a.

To test your program in three ways:

i.

Create a Junit test class to test each of the public functions in y

our user-defined class.

ii.

Using a simple text file, e.g. array.txt that matches a similar context

as the one below.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!