How the choices are working and what are the conditions to be followed while assigning arrays to other.
public class test{
public static void main(
String [] args){
byte [][] big = new byte[7][7];
byte [][] b = new byte[2][1];
byte b3=5;
byte b2 [][][][] = new byte [2][3][1][2];
//Insert here
}
}
Which of the following can be inserted at the comment line(//Insert here) and still allow the code to compile.
1. b2[0][1] = b;
2. b[0][0] = b3;
3. b2[1][1][0] = b[0][0];
4. b2[1][2][0] = b;
5. b2[0][1][0][0] = b[0][0];
6. b2[0][1] = big;
Thanks...