The break keyword is used to prematurely exit a for, while, or do loop or to mark the end of a case block in a
switch statement.
Examples
Remarks Break Keyword in Javabreak always exits the innermost enclosing while, for, do or switch statement.
Examples
for (i=0; i)
{
break;
}
}
int type = ;
switch (type)
{
case 1:
break;
case 2:
break;
default:
}
Remarks Break Keyword in Java
No Comment to " Break Keyword in Java "