A

Admin • 830.13K Points
Coach

Q. What type of loop is the enhanced for loop in Java?

  • (A) Infinite loop
  • (B) Collection loop
  • (C) Unconditional loop
  • (D) Entry-controlled loop
  • Correct Answer - Option(B)
  • Views: 17
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin
Enhanced for loop is used to iterate over arrays and collections.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.