Given the following code fragment:
What is the outcome?
break exits the innermost loop only. When the first row reaches "B", the inner loop stops, so "C" is not printed. The outer loop proceeds to the second row, which prints "D" and "E".
break
"B"
"C"
"D"
"E"
Community Discussion