Computer Applications

Which of the following loops is mostly used for fixed number of iterations ?

  1. for
  2. do-while
  3. while
  4. none of the above

Java Iterative Stmts

9 Likes

Answer

for

Reason — for loop is usually used when the number of iterations are fixed.

Answered By

4 Likes


Related Questions