A

Admin • 828.03K Points
Coach

Q. Which loop type requires all components (init, condition, increment) to be explicitly declared?

  • (A) while
  • (B) do-while
  • (C) for
  • (D) foreach
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category Java
  • Hashtags: Java Loops

Explanation by: Admin
The traditional for loop in Java requires all three components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.