Microsoft
MB6-869 · Question #34
MB6-869 Question #34: Real Exam Question with Answer & Explanation
Sign in or unlock MB6-869 to reveal the answer and full explanation for question #34. The question stem and answer options stay visible for context.
Question
In Microsoft Dynamics AX 2012, what is the return value of the following method, for an initial value of x = 5? static int sampleSwitch(int x) { ; switch (x) { case (1): x = 5; case (5): x = x + 5; case (10): x = x + 10; break; case (20): x = x + 20; break; default: x = 5; } info(strfmt("Return value is %1", x)); return x; }
Options
- A5
- B10
- C20
- D25
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.