下列语句顺序执行后,a的值是 int a=13;a%=a/5;A.0B.1C.1D.真
下列语句顺序执行后,a的值是 int a=13;a%=a/5;
A.0
B.1
C.1
D.真
相关考题:
已知:数组:int[]al={2,3,5,7,11,13} int[]a2={1001,1002,1003,1004,1005,1006,1007 }在语句 System.arraycopy(a1,2,a2,3,4)执行后,数组int[]luckNumbers的值是( )。A.{1001,1002,1003,2,3,4,1007}B.{2,3,1003,1004,2,3,1007}C.{1001,1002,1003,5,7,11,13}D.{5,7,11,13,1005,1006,1007}
已知:数组:int[]a1={2,3,5,7,11,13} int[]a2={1001,1002,1003,1004,1005,1006,1007}在语句System.arraycopy(a1,2,a2,3,4)执行后,数组int[]luckNumbers的值是 ( )A.{1001,1002,1003,2,3,4,1007}B.{2,3,1003,1004,2,3,1007}C.{1001,1002,1003,5,7,11,13}D.5,7,11,13,1005,1006,1007
17、执行下列语句:int x = 5, y; y = x / 2; 执行后变量y的数据类型和值分别为()。A.int, 2.5B.int, 2C.double, 2.0D.double, 2.5
18、执行下列语句:int x = 5; double y; y = x / 2; 执行后变量y的数据类型和值分别为()。A.int, 2.5B.int, 2C.double, 2.0D.double, 2.5
下列语句执行后变量的值是 n=0 For i=1 to 5 n=n+i Next iA.15B.10C.14D.13