A

Admin • 828.03K Points
Coach

Q. Which of the following is true about labeled loops in Java?

  • (A) Only for loops can be labeled
  • (B) You can use break with a label
  • (C) You cannot use labels
  • (D) Only while loops can use labels
  • Correct Answer - Option(B)
  • Views: 13
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin
Labels can be used with break and continue to control nested loops.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.