单选题:Java中以下有语法错误的语句是?
Java中以下有语法错误的语句是?
A.int x=1;y=2;z=3
B.for (int x=10,y=0;x>0;x++);
C.while (x>5);
D.for(; ;);
answer:A
A.int x=1;y=2;z=3
B.for (int x=10,y=0;x>0;x++);
C.while (x>5);
D.for(; ;);
answer:A