Quick Index
Introduction


Overview


In this drill we'll develop a Java class called QueryArray.

It will be a wrapper of a simple Java fixed array. QueryArray will provide numerous convenience methods that simplify querying arrays. However QueryArray will not be dynamic -- in other words it will not support adding, inserting or removing elements (we'll tackle these in subsequent chapters).

Objectives



Prerequisites


For reference while doing drills:


Provided Code


The java project has been started for and should be downloaded here:


Do not change any of the directory structure or filenames. The grader will depend on it being intact.

Files:

FileDescription
src/model/linearpub/QueryArrayIdea.javaJava interface (readonly) -- your best friend and guide during this project
src/model/queryarray/QueryArray.javaStarter file for class QueryArray -- your Java work goes in this file
src/test/*Test utilities to help you get started testing (primarily Employee.java) -- but you are encouraged to instead create your own test objects

Note that QueryArray.java contains many compile errors (related to unimplmented methods). You will need to resolve these.

Requirements


The requirements for this drill are:


Tips



Submitting Code