Introduction
The goal of this lab is to gain experience working with two-dimensional arrays.
Instructions
- Create a new Eclipse project. Download and import the files Array2D.java and Array2DTest.java .
- Complete the unfinished methods in
Array2D.java
according to the provided JavaDoc comments. - Once all of your methods are implemented and tested, submit your finished work through Gradescope. There is no limit on the number of submissions.
⚠️ Note
Notice that the methods inArray2D.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.