The break statement in Java is used to ___

21. The break statement in Java is used to ___.

  1. Terminates from the loop immediately
  2. Terminates from the program immediately
  3. Skips the current iteration
  4. All of these

Answer: A) Terminates from the loop immediately

Explanation:

The break statement in Java is used to terminate from the loop immediately.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.