Given this method declaration
public static int[][] copyArray(int[][] a)
How to invoke it?
int[][] a = new int[][] {{1, 2},{3, 4, 5},{0}}; int[][] b = copyArray(a);
int[][] b = copyArray(new int[][] {{1, 2},{3, 4, 5},{0}});
All choices are correct
int[][] a = new int[][] {{1, 2},{3, 4, 5},{0}}; copyArray(a);