此题为判断题(对,错)。
第1题:
publicclassYikes{publicstaticvoidgo(Longn){System.out.println(”Long);}publicstaticvoidgo(Shortn){System.out.println(”Short);}publicstaticvoidgo(intn){System.out.println(”int);}publicstaticvoidmain(String[]args){shorty=6;longz=7;go(y);go(z);}}Whatistheresult?()
A.intLong
B.ShortLong
C.Compilationfails.
D.Anexceptionisthrownatruntime.
第2题:
A. shouldn’t
B. should
C. wouldn't
D. would
第3题:
I’d rather you ________ make any comment on the issue for the time being.
A) don’t B) wouldn’t C) didn’t D) shouldn’t
选C
would rather that……"宁愿……",that从句中用过去时表示现在或将来要做的事。
第4题:
I () roast leg of lamb, please.
A、will like
B、would like
C、would
第5题:
以下选项中,正确运用指针变量的程序段是( )。
A.int*i=NULL;
B.float*f=NULL; scanf("%d",i); *f=10.5;
C.char t='m',*C=&t;
D.long*L; *C=&t; L='0';
第6题: