getTotal: method should accept two-dimensional array as uts argument and return the total of all the values in the array. Write overloaded versions of this method that work with int, float, double, and long arrays.
getAverage: accept two-dimensional array as its argument and return the average of all the values in the array. Write overloaded versions of this method that work with int, float, double, and long arrays.
getRowTotal: accept two-dimensional array as its first argument and an integer as its second argument. The second argument should be the subscript of a row in the array. The method should return the total of the values in the specified row. Write overloaded versions of this method that work with int, float, double, and long arrays.
getCoulmnTotal: accept two-dimensional array as its first argument and an integer as its second argument. Second argument should be a subscript of a column in the array. The method should return the total of the values in the specified column. Write overloaded versions of this method that work with int, float, double, and long arrays.
getHighestInRow: accept two-dimensional array as its first argument and an integer as its second argument. Second argument should be a subscript of a column in the array. The method should return the total of the values in the specified column. Write overloaded versions of this method that work with int, float, double, and long arrays.
getLowestInRow: accept two-dimensional array as its first argument and an integer as its second argument. Second argument should be a subscript of a column in the array. The method should return the total of the values in the specified column. Write overloaded versions of this method that work with int, float, double, and long arrays.
–Demonstrate the class in a complete program with test data stored in a two-dimensional aray of various data types.
*This is Programming Challenges #12 from Chapter 7 in “Starting out with Java: Early Objects, by Tony Gaddis.





