Vidyalelo
Java Programming · Q12

Flow Control

Programming · Java Programming · question 12

Q12

In Java, what does the "break" statement do in a loop?

A.
Repeats the loop
B.
Restarts the loop
C.
Pauses the loop
D.
Exits the loop prematurely
Answer

Answer: Option D

Solution

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