Using Break keyword to exit nested loops - Java Quiz Question


What is the output of the following program?


A
x = 5
B
x = 49
C
x = 99
D
x = 100