Two-Dimensional Arrays Lab
Two di-men., too dimensional to flatten…
Categories:
less than a minute
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 to Gradescope .
Notice that the methods in Array2D.java
use a return value of Double.NaN
to indicate an error condition. Typically, it would make more sense to design these methods to throw exceptions.
Last modified January 16, 2025: Rename deploy.yml to dont_deploy.yml (7438dab)