Question: Create a two dimensional integer array in JAVA that produces the sum of rows and columns as selected by the user.
Example: The user requested which row/column he wants to add; the program invokes a class myExcel that provides the functionality for to process the request. For this code a two methods called: rowTotal(int r) // Adds all the values in row r colTotal(int c) // Adds all the values in column c The class overloaded constructor receives a 2-dim int array as a parameter and assigns its values to a private 2-dim int array. Have another method that prints the whole 2-dim table.
Solve this program and provide all the code. Prepare this program in java programming