在中国______提出了“以美育代替宗教”的主张。
A.鲁迅
B.胡适
C.毛泽东
D.蔡元培
第1题
A.5
B.6
C.7
D.12
E.13
第2题
A.Vectorfilelist=((Directory)file).getList();
B.String[]filelist=file.directory();
C.Enumerationfilelist=file.contents();
D.String[]filelist=file.list();
E.Vectorfilelist=(newDirectory(file)).files();
第3题
classBase{
publicvoidprint(){
System.out.println("base");
}
}
classExtentionextendsBase{
publicvoidprint(){
System.out.println("extension");
//insertlineofimplementationhere
}
}
publicclassQ294d{
publicstaticvoidmain(Stringargs[]){
Extentionext=newExtention();
ext.print();
}
}
Fillinasinglelineofimplementation.()
第4题
A.FileOutputStreamhasnoconstructorsmatchingthegivenarguments.
B.AnIOExeceptionwillbethrownifafilenamed"data"alreadyexists.
C.AnIOExeceptionwillbethrownifafilenamed"data"doesnotalreadyexist.
D.Ifafilenamed"data"exists,itscontentswillberesetandoverwritten.
E.Ifafilenamed"data"exists,outputwillbeappendedtoitscurrentcontents.
第5题
A.Atmostonelistenerofeachtypecanberegisteredwithacomponent.
B.MousemotionlistenerscanberegisteredonaListinstance.
C.ThereexistsaclassnamedContainerEventinpackagejava.awt.event.
D.ThereexistsaclassnamedMouseMotionEventinpackagejava.awt.event.
E.ThereexistsaclassnamedActionAdapterinpackagejava.awt.event.
第6题
A.Nothingappearsintheapplet.
B.Abuttonwillcoverthewholeareaoftheapplet.
C.Abuttonwillappearinthetopleftcorneroftheapplet.
D.Abuttonwillappear,centeredinthetopregionoftheapplet.
E.Abuttonwillappearinthecenteroftheapplet.
第7题
A.private
B.final
C.static
D.int
E.abstract
第8题
A.Allswitchstatementsmusthaveadefaultlabel.
B.Theremustbeexactlyonelabelforeachcodesegmentinaswitchstatement.
C.Thekeywordcontinuecanneveroccurwithinthebodyofaswitchstatement.
D.Nocaselabelmayfollowadefaultlabelwithinasingleswitchstatement.
E.Acharacterliteralcanbeusedasavalueforacaselabel.
第9题
A.Thecodewillfailtocompile.
B.0willbewrittentothestandardoutput.
C.1willbewrittentothestandardoutput.
D.2willbewrittentothestandardoutput.
E.3willbewrittentothestandardoutput.
第10题
A.Membervariablesoftheouterinstancearealwaysaccessibletoinnerinstances,regardlessoftheiraccessibilitymodifiers.
B.Membervariablesoftheouterinstancecanneverbereferredtousingonlythevariablenamewithin theinnerinstance.
C.Morethanoneinnerinstancecanbeassociatedwiththesameouterinstance.
D.Allvariablesfromtheouterinstancethatshouldbeaccessibleintheinnerinstancemustbedeclared final.
E.Aclassthatisdeclaredfinalcannothaveanyinnerclasses.
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!