更多“Peter’s jacket looked just the same as Jack’s, but it cost his. A. as much twice as B. ”相关问题
  • 第1题:

    ()father took part in the charity activity in the neighborhood yesterday?

    Peter's.

    A. Whose

    B. What

    C. Which


    参考答案:A

  • 第2题:

    GivenaclassRepetition:1.packageutils;2.3.publicclassRepetition{4.publicstaticStringtwice(Strings){returns+s;}5.}andgivenanotherclassDemo:1.//insertcodehere2.3.publicclassDemo{4.publicstaticvoidmain(String[]args){5.System.out.println(twice(”pizza”));6.}7.}Whichcodeshouldbeinsertedatline1ofDemo.javatocompileandrunDemotoprintpizzapizza”?()

    A.importutils.*;

    B.staticimportutils.*;

    C.importutils.Repetition.*;

    D.staticimportutils.Repetition.*;

    E.importutils.Repetition.twice();

    F.importstaticutils.Repetition.twice;

    G.staticimportutils.Repetition.twice;


    参考答案:F

  • 第3题:

    A

    In a small village, there is a teacher, a nurse(护士) ,a driver(司机) and a worker.They are good friends. What are their names? One is Mike, one is Jack, one is Tom and the other is John. Mike's, Jack’s and Tom-s children are classmates. John doesn’t have any children He teaches his friends' children at school. Mike has many hens. He gives the driver and the nurse eggs. Jack's child goes to the nurse- s house. The nurse-s house is beside Jack's.

    ( )21. Are the four people good friends?

    A. Yes.

    B. No.

    C. Not.

    D. They are brothers.


    正确答案:A
    21.A【解析】根据文章的第二句可知。

  • 第4题:

    定义类:packageutils;publicclassRep{publicstaticStringtwice(Strings){returns+s;}}再定义另一个类Demo://insertcodeherepublicclassDemo{publicstaticvoidmain(String[]args){System.out.println(twice("Hello"));}}在第一行插入哪项代码,可以使程序正常编译和执行?()

    A.importutils.*;

    B.importutils.Rep.*;

    C.importstaticutils.Rep.twice;

    D.staticimportutils.Rep.twice;


    参考答案:C

  • 第5题:

    下列语句中,不正确的是______。

    A.static char a[]={"Jack"};

    B.static char a[]="Jack";

    C.printf("%s",a[0]);

    D.scanf("%s",a);


    正确答案:C
    解析:当用%s格式符输出字符串时,printf中的输出项是字符数组名,不是数组元素名。