Two-Dimensional Arrays Lab

The goal of this lab is to gain experience working with two-dimensional arrays.

Instructions

  1. Create a new Eclipse project. Download and import the files Array2D.java and Array2DTest.java .
  2. Complete the unfinished methods in Array2D.java according to the provided JavaDoc comments.
  3. Once all of your methods are implemented and tested, submit your finished work to Gradescope .

Notice that the methods in Array2D.java use a return value of Double.MIN_VALUE to indicate an error condition. Typically, it would make more sense to design these methods to throw exceptions.

Last modified April 30, 2022: practice coding exam (a2ce8c8)