The first array has 3 rows and 3 columns and is initialized withtype double data. The second array has 4 rows and 4 columns and isalso initialized with type double data The first method ArrayRowswill receive an array of type double as an argument and then printout the sum and average of all elements in each ROW. Do NOT passany other parameters into the method except for the array. Thesecond method ArrayColumns will receive an array of type double asan argument and then print out the sum and average of all elementsin each Column. Do NOT pass any other parameters
OR
OR