(Choose 1 answer)
Considering method M3, which of the following statements is correct?
{ int x = 1;
public static int M3(int[][] J)foreach (int[] k in J){foreach (int e in k){}x *= e } return x;}
A. The output of the below statement is 12 M3(new int[][] { new int[] {1, 2}, new int[]{2, 3} });
B. The output of the below statement is 2
M3(new int[][] { new int[] { 0, 2} });
C. M3 will be compiled as the datatype of k should be int
D. The code below raises an exception since there are no elements in the given array.M3(new int[][] {});
Exit 20