Vidyalelo
Java Programming · Q7

Flow Control

Programming · Java Programming · question 7

Q7

In Java, which loop is suitable when you want to execute a block of code a specific number of times?

A.
for loop
Answer
B.
while loop
C.
do-while loop
D.
switch loop

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board