A.experienced
B.qualified
C.encountered
D.possessed
第1题
A.Whencompilationsomeerrorwilloccur.
B.Itiscorrectwhencompilationbutwillcauseerrorwhenrunning.
C.Theoutputiszero.
D.Theoutputisnull.
第2题
A.输出零
B.输出空
C.编译时正确,运行时将产生错误
D.编译时将产生错误
第3题
是正确的数组定义()。
A.intn=5;intarr[n];
B.intn;n=5;intarr[n];
C.intarr[10];
D.intN=5,arr[N];
第4题
Giventhefollowingcode,writealineofcodethat,wheninsertedattheindicatedlocation,willmaketheoverridingmethodinExtensioninvoketheoverriddenmethodinclassBaseonthecurrentobject.
classBase{
publicvoidprint(){
System.out.println("base");
}
}
classExtentionextendsBase{
publicvoidprint(){
System.out.println("extension");
//insertlineofimplementationhere
}
}
publicclassQ294d{
publicstaticvoidmain(Stringargs[]){
Extentionext=newExtention();
ext.print();
}
}
Fillinasinglelineofimplementation.()
第5题
若有定义:intarr[15],n=5;无法正确引用arr数组元素的是()。
A.arr[10+n]
B.arr[0]
C.arr[15-n]
D.arr[n]
第6题
A.ThetimetofindthevaluefromHashMapwithaPersonkeydependsonthesizeofthemap.
B.DeletingaPersonkeyfromaHashMapwilldeleteallmapentriesforallkeysoftypePerson.
C.InsertingasecondPersonobjectintoaHashSetwillcausethefirstPersonobjecttoberemovedasaduplicate.
D.ThetimetodeterminewhetheraPersonobjectiscontainedinaHashSetisconstantanddoesNOTdependonthesizeofthemap.
第7题
下列执行后输出的结果是【 】。 main() { intarr[10],i,k=0 for(i=0;i<10;i++)atr[i]=i for(i=1,i<4;i++) k+=arr[i]+i; printf("%d\n",k); }
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!