Oracle
1Z0-808 · Question #73
1Z0-808 Question #73: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-808 to reveal the answer and full explanation for question #73. The question stem and answer options stay visible for context.
Question
Which three are valid replacements for foo so that the program will compiled and run?
public class ForTest {
public static void main(String[] args) {
int[] array = {1,2,3};
for ( foo ) {
}
}
}
Options
- Aint i: array
- Bint i=0;i<1;i++
- C; ;
- D;i<1;i++
- E;i<1;
Unlock 1Z0-808 to see the answer
You've previewed enough free 1Z0-808 questions. Unlock 1Z0-808 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.