A

Admin • 833.24K Points
Coach

Q. Which loop is best when the number of iterations is known?

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

Explanation by: Admin

for loop is best suited when the number of iterations is known.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.