Computer Applications
Which of the following loops is mostly used for fixed number of iterations ?
- for
- do-while
- while
- none of the above
Java Iterative Stmts
7 Likes
Answer
for
Reason — for loop is usually used when the number of iterations are fixed.
Answered By
3 Likes
Related Questions
Absence of which statement causes a fall-through in a switch statement.
- continue
- break
- stop
- fall
By default, the if-part and else-part of an if statement can contain these many statements in it.
- 2
- 1
- 5
- as many
Which of the following is not an entry controlled loop ?
- for
- do-while
- while
- none of the above
Which of the following is an exit controlled loop?
- for
- do-while
- while
- none of the above