Oracle
1Z0-815 · Question #72
1Z0-815 Question #72: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-815 to reveal the answer and full explanation for question #72. The question stem and answer options stay visible for context.
Question
What should keyword1 and keyword2 be respectively, in oreder to produce output 2345? int [] array = {1,2,3,4,5}; for (int i: array) { if ( i < 2) { keyword1 ; } System.out.println(i); if ( i == 3) { keyword2 ; }}
Options
- Acontinue, break
- Bbreak, break
- Cbreak, continue
- Dcontinue, continue
Unlock 1Z0-815 to see the answer
You've previewed enough free 1Z0-815 questions. Unlock 1Z0-815 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.