Control Statement
Control Statement
Control Statement
break
Continue.
break
As the name suggests, the break statement is used to break the current
flow of the program and transfer the control to the next statement outside
a loop or switch statement. However, it breaks only the inner loop in the
case of the nested loop.
continue