What tools can I use during the exam? More precisely, can I use pen and paper? (I want to do 1z0-819)
I may be stupid but I find it very difficult to answer a question like this, in one minute and without making mistakes, even the question is very simple, without being able to write notes somewhere...
Code: Select all
What will the following code print when compiled and run?
int[][] ab = { {1, 2, 3}, {4, 5} };
for(var i=0; i<ab.length; i++){
for(var j=0; j<ab[i].length; j++){
System.out.print(ab[i][j]+" ");
if(ab[i][j] == 2){
break;
}
}
continue;
}