Java Professional — Hard
Key points
- The continue statement skips the current iteration and moves to the next one.
- The loop runs until i is less than 3.
- The output includes all values of i except 2.
- The final value of i is 4.
Ready to go further?
Related questions
