How many numbers does the following code print?
for (int i = 0; i < 5; i++) {
System.out.println(i);
for (int j = 0; j < 5; j++) {
System.out.println(j);
break;
}
}How many numbers does the following code print?
for (int i = 0; i < 5; i++) {
System.out.println(i);
for (int j = 0; j < 5; j++) {
System.out.println(j);
break;
}
}Create a free account to access the full topic