A

Admin • 828.03K Points
Coach

Q. Which keyword exits a loop immediately in Java?

  • (A) stop
  • (B) continue
  • (C) exit
  • (D) break
  • Correct Answer - Option(D)
  • Views: 10
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin
break is used to exit a loop immediately.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.