A

Admin • 830.32K Points
Coach

Q. Which loop would be most appropriate to repeat a process exactly 100 times?

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

Explanation by: Admin
for loop is ideal for fixed number of repetitions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.