This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
The answer for the following question is A, B, E, and F. Could you please any one explain, how these answers are correct?
Thank you
Given the following, 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. 8. } 9. } which of the following lines of code could be inserted at line 7, and still allow the code to compile? (Choose four that would work.) A. b2[0][1] = b; B. b[0][0] = b3; C. b2[1][1][0] = b[0][0]; D. b2[1][2][0] = b; E. b2[0][1][0][0] = b[0][0]; F. b2[0][1] = big;
Naseem Khan
Ranch Hand
Joined: Apr 25, 2005
Posts: 809
posted
0
a, b, e, f is correct. [ June 08, 2006: Message edited by: Naseem Khan ]