这一页的Java程序代码代表一份完整的源文件。你的任务是要扮演编译器角色并判断哪个程序可以编译过关。如果有问题,哪里需要修改?
A
class Exerciselb{ public static void main(String [] args) { int x = 1; while ( x < 10 ) { if ( x > 3) { System.out.println("big x"); } } } }B
public static void main(String [] args) { int x = 5; while ( x > 1) { x = x - 1; if ( x < 3) { System.out.println("small x"); } } }C
class Exerciselb{ int x = 5; while ( x > 1) { x = x - 1; if ( x < 3) { System.out.println("small x"); } } }