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++) {
a break statement (and its companion, 'continue', as well) works on a surrounding loop. An if-statement is not a loop. So to answer your question: the break in your code example will jump out of the for-loop.
break
if
for