如发现白蚁又未能确定蚁巢地点,或者知道蚁巢地点又不能将其挖出时,可采用()来治灭白蚁。
A.药杀法
B.诱杀法
C.挖巢法
D.生物防治法
第1题
下面程序段的输出结果是()。 class Test{ public s,tatic void main(String args[]){ MyThread t=new MyThread; displayOutput("t has been createD"); start; } } Class MyThread extends Thread{ public void displayOutput(String s){ System.out.println(s); } public void run{ displayOutput("t is running."); } }
A. t has been created.
B.t has been created. t is running.
C.t is running.
D.编译出错
第2题
下面程序段的输出结果是()。 public class Test { public static void main (String[] args) { for (int a=0;a<10;a++) { if (a==5) break; System.out.println(A); } } }
A.01234
B.6789
C.012346789
D.5
第3题
下面程序段的输出结果是______。 class Test{ public static void main(String args[ ]){ MyThread t=new MyThread(); t.displayOutput("t has been created"); t.start(); } } class MyThread extends Thread{ public void display Output(String s){ System.out,println(s); } public void run(){ displayOutput("t is running"); } }
A.t has been created t is running
B.t has been created
C.t is running
D.编译错误
第4题
下面程序段的输出结果是()。 public class Test { public static void main (String[] args) { int j=2,i=5; while (j<i--) j++; System.out.println(j);} }
A.2
B.3
C.4
D.5
第5题
下面程序段的输出结果是 public class Test{ public static void main(String args[]){ int a,b; for(a=1,b=1;a<=100;a++){ if(b>=10)break; if(b%2==1){ b+=2; continue; } } System.out.println(a) ; } }
A.5
B.6
C.7
D.101
第6题
下面程序段的输出结果是()。 public class Test { public static void main (String[] args) { int n=10; do { System.out.println("n is"+n); }while(--n>10); } }
A.n is 8
B.没有输出
C.n is 10
D.n is 9
第7题
下面程序段的输出结果是 class Test{ public static void main(String args[]){ MyThread t=new MyThread(); t.displayOutput("t has been createD) "; t.start(); } } class MyThread extends Thread{ public void displayOutput(String s){ System.out.println(s); } public void nm(){ displayOutput("t is running."); }
A.t has been created. t is running.
B.t has been created.
C.t is running.
D.编译出错
第8题
下面程序段的输出结果是 class Test{ public static void main(String args[]){ MyThread t=new MyThread(); t.displayOutput("t has been created)); t.start(); } } class MyThread extends Thread{ public void displayOutput(String s){ System.out.println(s); } public void run(){ displayOutput(t is running."); } }
A.t has been created.
B.t has been created. t is running.
C.t is running.
D.编译出错
第9题
下面程序段的输出结果是()。 public class Test{ public static void main(String args[]){ int a,b; for(a=1,b=1;a<=100;a++){ if(b>=10)break; if(b%2= =1){ b+=2: continue; } } System.OUt.println(a); } }
A.5
B.6
C.7
D.101
第10题
下面程序段的输出结果是()。 public class Test{ public static void main(String args[]){ int a,b; for(a=1,b=1;a<=100;a++){ if(b>=10)break; if(b%2= =1){ b+=2: continue; } } System.OUt.println(a); } }
A.5
B.6
C.7
D.101
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!