Consider the code snippet below. Which of the assignments are valid
in the end of the main method?
public class X
{
public static void main(String[] args)
{
String s = "s";
String[][] matrix = {{s,s},{s,s}};
//Assignment here.
}
}
A) Object t1 = matrix
B) Object[] t2 = matrix;
C) Object[][] t3 = matrix;
D) String t4 = matrix;
E) String[] t5 = matrix;
F) String[][] t6 = matrix;