Microsoft
MB6-869 · Question #36
In Microsoft Dynamics AX 2012, what is the print output of the following method? static void sampleContinueBreak() { int counter; for (counter=1;counter <= 10;counter++) { if (counter > 3 && counter…
Sign in or unlock MB6-869 to reveal the answer and full explanation for question #36. The question stem and answer options stay visible for context.
Question
In Microsoft Dynamics AX 2012, what is the print output of the following method? static void sampleContinueBreak() { int counter; for (counter=1;counter <= 10;counter++) { if (counter > 3 && counter < 8) { continue; } else if(counter == 9) { break; } print counter; } print counter; pause; }
Options
- A1 2 3
- B1 2 3 8
- C1 2 3 8 9
- D1 2 3 9 10
Unlock MB6-869 to see the answer
You've previewed enough free MB6-869 questions. Unlock MB6-869 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.