Return to site

JAVA CERTIFICATION QUESTION: Break and continue in Java’s for loops

· java,ocp

Sometimes you have to simulate JVM behavior using pencil and paper.

Given the following code fragment:

What is the output? Choose one.

A. Three

B. Four

C. Five

D. Three



E. No output





·ꓭ uoᴉʇdo sᴉ ɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ ·uoᴉsnʅɔuoꓛ


All Posts

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!