请帮我看看这一道题
hnrpc 2003-12-28 07:09:32 In the following class, Which code must replace the <<>> to finish the outerloop (control moves out of the outerloop) ?
class Loop
{
public static void main( String [] args)
{
int x = 0; int y = 0;
outer: for (x = 0; x < 100; x++)
{
middle: for (y = 0 ; y < 100 ; y++)
{
System.out.println("x = " + x + "; y = " + y);
if (y == 10)
{
<<>>
}
}
}
} //End of main()
} // End of class Loop
A continue middle;
B break middle;
C continue outer;
D none of these
E break outer;
答案是E,好像不对,为什么