Examveda
Examveda

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

A. for loop

B. while loop

C. do-while loop

D. switch loop

Answer: Option A


This Question Belongs to Java Program >> Flow Control

Join The Discussion

Related Questions on Flow Control