Let\'s say I have this:
while(a){ while(b){ if(b == 10) break; } }
Question: Will the break statement take m
In your example break statement will take you out of while(b) loop
while(a) { while(b) { if(b == 10) { break; } } // break will take you here. }