I have two for loops nested like this:
for(...) {
for(...) {
}
}
I know that there is a break; statement. But I am confused about if it breaks both loops or just the one in which it was called? I need to break both ones as soon as I see that it doesn't make sense to iterate more times over.