I am Brazilian, I am studing with
java 2 certification sun to programers and developers and I have a doubt, for example, in the chapter 01
test number: 12.
1.public class Test{
2. public static void main(
String[] args){
3. byte [][]big = new byte[7][7];
4. byte[][] b= new byte[2][1];
5. byte b3=5;
6. byte b2 [][][][]=new byte[2][3][1][2];
7. }// here!!
8.}
which of the answers could be insert in the line seven and still to permit of the code was compilated?(you have 4 correct answers)
a)b2[0][1] =b;//correct
b)b[0][0] =b3;//correct
c)b2[1][1][0] =b[0][0];//wrong ???
d)b2[1][2][0]=b;//wrong ???
e)b2[0][1][0][0]=b[0][0];//correct
f)b2[0][1]= big;//correct
I didn�t understand why are wrongs ???
Please someone answer to me.....
thank you very much!!
Elizabette Caldas
Bras�lia -DF