difference between labelled break and break statement
Answers
Answered by
1
The labelled statement can be any block statement; it does not have to be preceded by a loop statement. Without a label, break will break out of the inner loop. With a label you can stop execution of nested loops. the break is given in only inner for loop.
Similar questions