itgle.com
更多“He was pardoned () the circumstances.A、in case ofB、in condition ofC、in view ofD、in circ ”相关问题
  • 第1题:

    已知如下代码: switch(m) { case 0: System.out.println("Condition0"); case 1: System.out.println("Condition 1"); case 2: System.out.println("Condition 2"); case 3: System.out.println("Condition 3"); break; default: System.out.println("Other cCndition"); } 当m为( )时,"Condition 2"会出现在输出结果中。

    A.2

    B.0、1

    C.0、1、2

    D.0、1、2、3


    正确答案:C
    解析:在switch-case语句中,如果case后没有break,程序会继续执行后面的case语句,直到遇到break或者switch结束。这个程序中只有case 3后才有break,所以当m=0、1、2都将执行case 2后的语句。m=3时,前三个case不满足,所以不执行case 2后的语句,因此选C。

  • 第2题:

    The purpose () this letter is to inform. you ()the important meeting.

    A、to,of

    B、on,about

    C、of,of

    D、of,on


    参考答案:C

  • 第3题:

    WE feel sure that a fair comparison()quality between our canned goods and those of other suppliers will convince you()the reasonableness of our quotation.

    A、with ⋯of

    B、in⋯of

    C、for⋯in

    D、on⋯in


    参考答案:B

  • 第4题:

    ()separate cover, we have already sent you samples () various sizes of shoes.

    A、Below,of

    B、Under,of

    C、By,of

    D、By,including


    参考答案:B

  • 第5题:

    Pursuant ()the results ()the research, we have canceled out assumptions.

    A、to,of

    B、on,of

    C、to,for

    D、on

    E、for


    参考答案:A

  • 第6题:

    已知如下代码: switch(m) { case 0: System. out. println("Condition 0 "); case 1: System. out. println("Condition 1 "); case 2: System. out. println("Condition 2 "); case 3: System. out. println("Condition 3 "); break; default: System. out. println("Other Condition"); 当m的值为( )时,可以输出“Condition 2”。

    A.2

    B.0,1

    C.0,1,2

    D.0,1,2,3


    正确答案:C
    解析:由于前三个case语句中没有break语句,因此执行case0之后,会继续执行case1和 case2,所以可以输出“Condition 2”,同理执行case 1和case 2都可以输出“Condition 2”,执行 case 3的时候,无法输出“Condition 2”。