A

Admin • 828.43K Points
Coach

Q. Which statement is true about the break statement?

  • (A) It exits the entire program
  • (B) It exits the current loop
  • (C) It skips current iteration
  • (D) It ends the current function
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin
break exits the current loop, not the entire program.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.