Plat-Dev-201 practice question 13 of 30

Refer to the following Apex code: apex Copy Integer x = 0; do { x++; } while (x < 1); System.debug(x); What is the value of x when it is written to…

Choose your answer, then check it against the explanation.

Refer to the following Apex code: apex Copy Integer x = 0; do { x++; } while (x < 1); System.debug(x); What is the value of x when it is written to the debug log?
Answer options
Question 13 of 30

Keep practicing

Take the free Plat-Dev-201 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other Plat-Dev-201 practice questions

Scroll to Top