What if we have an if statement inside a for loop, would it stop the loop or the if condition...
Example:
for (int i = 0; i < array.length; i++) {
You can break out of just 'if' statement also, if you wish, it may make sense in such a scenario:
for(int i = 0; i
you can also break out of labeled {} statement: