-3
-2
-1
0
1
第1题:
若有:intx=1,n=5;则执行语句x%=(n%2)后,x的值为()。
第2题:
public class SwitchTest { public static void main(String[] args) { System.out.println(“value = “ + switchIt(4)); } public static int switchIt(int x) { int j = 1; switch (x) { case 1: j++; case 2: j++; case 3: j++; case 4: j++; case 5: j++; default: j++; } return j + x; } } What is the result?()
第3题:
成型车刀有()种。
第4题:
在逻辑代数中0*0*1=()。
第5题:
当一个复选框被选中时,它的Value属性的值是()
第6题:
public class SwitchTest { public static void main (String args) { System.out.PrintIn(“value =” +switchIt(4)); } public static int switchIt(int x) { int j = 1; switch (x) { case 1: j++; case 2: j++; case 3: j++; case 4: j++; case 5: j++; default:j++; } return j + x; } } What is the output from line 3? ()
第7题:
Value = 3
Value = 4
Value = 5
Value = 6
Value = 7
Value = 8
第8题:
-7
-5
1/3
3
10
第9题:
Value = 3
Value = 4
Value = 5
Value = 6
Value = 7
Value = 8
第10题:
第11题:
1→2→3
1→3→2
3→2→1
3→1→2
第12题:
第13题:
1. public class SwitchTest { 2. public static void main (String []args) { 3. System.out.PrintIn(“value =” +switchIt(4)); 4. } 5. public static int switchIt(int x) { 6. int j = 1; 7. switch (x) { 8. case 1: j++; 9. case 2: j++; 10. case 3: j++; 11. case 4: j++; 12. case 5: j++; 13. default:j++; 14. } 15. return j + x; 16. } 17. } What is the output from line 3?()
第14题:
X值的取值范围为()。
第15题:
种子萌发需要()个条件。
第16题:
在逻辑代数中1+1+1=()。
第17题:
1. public class Boxer1 { 2. Integer i; 3. int x; 4. public Boxer1(int y) { 5. x=i+y; 6. System.out.println(x); 7. } 8. public static void main(String[] args) { 9. new Boxer1(new Integer(4)); 10. } 11. } What is the result?()
第18题:
第19题:
第20题:
7
6
5
4
3
第21题:
The value “4” is printed at the command line.
Compilation fails because of an error in line 5.
Compilation fails because of an error in line 9.
A NullPointerException occurs at runtime.
A NumberFormatException occurs at runtime.
An IllegalStateException occurs at runtime.
第22题:
3
2
1
0
第23题:
(c-b)/3
(c-b)/2
(b -c)/3
(b-c)/2
(c-b)/4