Peter’s jacket looked just the same as Jack’s,but it cost his. A as much twice as B twice as much as
C much as twice as D as twice much as
第1题:
()father took part in the charity activity in the neighborhood yesterday?
Peter's.
A. Whose
B. What
C. Which
第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;
第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.
第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;
第5题:
下列语句中,不正确的是______。
A.static char a[]={"Jack"};
B.static char a[]="Jack";
C.printf("%s",a[0]);
D.scanf("%s",a);