[Solved]Java Programming Create Test Class Contains Two Arrays Two Methods First Array 3 Rows 3 Co Q37222218
This is for JAVA programming.
Create a test class that contains two arrays and twomethods:
– 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 is also initializedwith type double data
– The first method ArraysRows will receive anarray of type double as an argument and then print out the sum andaverage of all elements in each ROW. DoNOT pass any other parameters into the methodexcept for the array.
– The second method ArrayColumns will receive anarray of type double as an argument and then print out the sum andaverage of all elements in each COLUMN. DoNOT pass any other parameters into the methodexcept for the array.
– Array1 = {{5.0, 4.0, 3.0}, {6.0, 4.0, 5.0}, {2.0, 3.0,4.0}}
– Array2 = {{5.0, 4.0, 3.0, 4.0}, {6.0, 4.0, 5.0, 5.0}, {2.0, 3.0,4.0, 3.0}, {1.0, 2.0, 3.0, 2.0}}
Do NOT code any numerical literals into yourcode.
Expert Answer
Answer to This is for JAVA programming. Create a test class that contains two arrays and two methods: – The first array has 3 rows… . . .
OR

