Write a method that shuffles the rows in a two-dimensional int array using the following header: public

Question:

Write a method that shuffles the rows in a two-dimensional int array using the following header:
public static void shuffle(int[][] m)

Write a test program that shuffles the following matrix:

int[][] m = {{1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}};

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: