1z1-808 Exam Question 101
Given the code fragment:

Test.java:

Which is the result?


Test.java:

Which is the result?

1z1-808 Exam Question 102
Given the code fragment:

Which modification enables the code to print 54321?

Which modification enables the code to print 54321?
1z1-808 Exam Question 103
Given the content of three files:

Which statement is true?
Which statement is true?

Which statement is true?
Which statement is true?
1z1-808 Exam Question 104
Given:
public class Natural {
private int i;
void disp() {
while (i <= 5) {
for (int i=1; i <=5;) {
System.out.print(i + " ");
i++;
}
i++;
}
}
public static void main(String[] args) {
new Natural().disp();
}
}
What is the result?
public class Natural {
private int i;
void disp() {
while (i <= 5) {
for (int i=1; i <=5;) {
System.out.print(i + " ");
i++;
}
i++;
}
}
public static void main(String[] args) {
new Natural().disp();
}
}
What is the result?
1z1-808 Exam Question 105
Given the code fragment:

What is the result?

What is the result?
