In Java, which loop is best suited for situations where the number of iterations is known beforehand?

by Nida Fatima ·
a) for loop
% (30 votes)
b) while loop
% (1 votes)
c) do-while loop
% (0 votes)
d) All loops are equally suitable
% (2 votes)

Who voted what?

What's this?
Note: Votes other than yours are not publicly visible.
Results
This content is neither created nor endorsed by StrawPoll.

Create Your Own Poll

Want to create your own poll? With StrawPoll anyone can easily create an online poll in seconds.