Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hellow I\'m in intro to Java can you help me write this program can you only use

ID: 3706684 • Letter: H

Question

Hellow I'm in intro to Java can you help me write this program can you only use printf for all printigs please

(Sort two-dimensional array) Write a method to sort a two-dimensional array using the following header:

public static void sort(int m[][])

The method performs a primary sort on rows and a secondary sort on columns. For example, the following array

{{4, 2},{1, 7},{4, 5},{1, 2},{1, 1},{4, 1}}

will be sorted to

{{1, 1},{1, 2},{1, 7},{4, 1},{4, 2},{4, 5}}.

can you only use printf for all printings

Explanation / Answer

Hi Dear,

Please find my required implementation.

Output:

{ {1,1},{1,2},{1,7},{4,1},{4,2},{4,5} }
Process finished with exit code 0

Please DONT forgot to rate my answer. We are working hard for you Guys!!