A. Introduction: review the following questions?
Yes, both 2-d arrays and array lists can be passed to or returned by a method. As a matter of fact, we can extends the methods in 7.2 to search through 2-D arrays or sort an array list. (Sorting 2-D arrays can be done with a clear definition of orders: for instance, is x[1][2] is prior to x[2][1]?)
B. HW: Write a method to sort an arrayList of double values.