给出下列的代码,( )行在编译时可能会有错误。 ① public void modify() {② int i, j, k; ③ i = 100; ④ while ( i > 0){ ⑤ j = i * 2; ⑥ System.out.println (" The value of j is " + j ); ⑦ k = k + 1; ⑧ }⑨ } A: line 4 B: line 6 C: line 7 D: line 8
给出下列的代码,( )行在编译时可能会有错误。 ① public void modify() {② int i, j, k; ③ i = 100; ④ while ( i > 0){ ⑤ j = i * 2; ⑥ System.out.println (" The value of j is " + j ); ⑦ k = k + 1; ⑧ }⑨ } A: line 4 B: line 6 C: line 7 D: line 8
给出下列的代码,( )行在编译时可能会有错误。 ① public void modify() {② int i, j, k; ③ i = 100; ④ while ( i > 0){ ⑤ j = i * 2; ⑥ System.out.println (" The value of j is " + j ); ⑦ k = k + 1; ⑧ }⑨ } A: line 4 B: line 6 C: line 7 D: line 8
给出下列的代码,( )行在编译时可能会有错误。 ① public void modify() {② int i, j, k; ③ i = 100; ④ while ( i > 0){ ⑤ j = i * 2; ⑥ System.out.println (" The value of j is " + j ); ⑦ k = k + 1; ⑧ }⑨ } A: line 4 B: line 6 C: line 7 D: line 8
Given the following code: 1) public void modify() { 2) int i, j, k; 3) i = 100; 4) while ( i > 0 ) { 5) j = i * 2; 6) System.out.println (" The value of j is " + j ); 7) k = k + 1; 8) i--; 9) } 10) } Which line might cause an error during compilation?() A: line 4 B: line 6 C: line 7 D: line 8
Given the following code: 1) public void modify() { 2) int i, j, k; 3) i = 100; 4) while ( i > 0 ) { 5) j = i * 2; 6) System.out.println (" The value of j is " + j ); 7) k = k + 1; 8) i--; 9) } 10) } Which line might cause an error during compilation?() A: line 4 B: line 6 C: line 7 D: line 8
4、下列代码( )会出错。1) public void modify() {2) int I, j, k;3) I = 100;4) while ( I >; 0 ) {5)j = I * 2;6) System.out.println (" The value of j is " + j );7) k = k + 1;8) I--;9) }10} A: line 4 B: line 6 C: line 7 D: line 8
4、下列代码( )会出错。1) public void modify() {2) int I, j, k;3) I = 100;4) while ( I >; 0 ) {5)j = I * 2;6) System.out.println (" The value of j is " + j );7) k = k + 1;8) I--;9) }10} A: line 4 B: line 6 C: line 7 D: line 8
给出下列代码, ( )行在编译时可能会有错误。 ①public void modify( ){ ②int i,j,k; ⑧i=100; ④while(i>0){ ⑤j=i*2; ⑥System.out.println("The value of j is"+j); ⑦k=k+l; ⑧} ⑨} A: line 4 B: line 6 C: line 7 D: line 8
给出下列代码, ( )行在编译时可能会有错误。 ①public void modify( ){ ②int i,j,k; ⑧i=100; ④while(i>0){ ⑤j=i*2; ⑥System.out.println("The value of j is"+j); ⑦k=k+l; ⑧} ⑨} A: line 4 B: line 6 C: line 7 D: line 8
16、给出下列的代码,哪行在编译时可能会有错误? ( ) ① public static void main(String args[]){ ② int i, j, k; ③ i = 100; ④ while ( i > 0 ){ ⑤ j = i * 2; ⑥ System.out.println (" The value of j is " +j ); ⑦ k = k + 1; ⑧ } ⑨ } A: line 4 B: line 6 C: line 7 D: line 8
16、给出下列的代码,哪行在编译时可能会有错误? ( ) ① public static void main(String args[]){ ② int i, j, k; ③ i = 100; ④ while ( i > 0 ){ ⑤ j = i * 2; ⑥ System.out.println (" The value of j is " +j ); ⑦ k = k + 1; ⑧ } ⑨ } A: line 4 B: line 6 C: line 7 D: line 8
给出下列的程序段,哪行在编译时可能会有错误 ( ) ①public void modify( ) ②int i,j,k; ③ i=100; ④ while(i>0){ ⑤ j=i*2; ⑥ System.out.println("The value of j is "+j); ⑦ k=k+1; ⑧ } ⑨} A: line 4 B: line 6 C: line 7 D: line 8
给出下列的程序段,哪行在编译时可能会有错误 ( ) ①public void modify( ) ②int i,j,k; ③ i=100; ④ while(i>0){ ⑤ j=i*2; ⑥ System.out.println("The value of j is "+j); ⑦ k=k+1; ⑧ } ⑨} A: line 4 B: line 6 C: line 7 D: line 8
23、给出下面代码段 1) public class Test { 2) int m, n; 3) public Test() {} 4) public Test(int a) { m=a; } 5) public static void main(String arg[]) { 6) Test t1,t2; 7) intj,k; 8) j=0;k=0; 9) t1=new Test(); 10) t2=new Test(j,k); 11) } 12) } ( )行将引起一个编译时错误。 A: line 3 B: line 5 C: line 6 D: line 10
23、给出下面代码段 1) public class Test { 2) int m, n; 3) public Test() {} 4) public Test(int a) { m=a; } 5) public static void main(String arg[]) { 6) Test t1,t2; 7) intj,k; 8) j=0;k=0; 9) t1=new Test(); 10) t2=new Test(j,k); 11) } 12) } ( )行将引起一个编译时错误。 A: line 3 B: line 5 C: line 6 D: line 10
现代商船公司的英文名称是 A: UASC B: Hyundai M.M. C: PIL D: K Line
现代商船公司的英文名称是 A: UASC B: Hyundai M.M. C: PIL D: K Line
新加坡船务公司的英文名称是 A: KMTC B: SITC C: K Line D: X-Press Feeders Group
新加坡船务公司的英文名称是 A: KMTC B: SITC C: K Line D: X-Press Feeders Group