【C13】
A.communication
B.transportation
C.transformation
D.transmission
第1题
A.Markthemethodwiththekeywordpublic.
B.Markthemethodwiththekeywordprotected.
C.Markthemethodwiththekeywordprivate.
D.Markthemethodwiththekeywordpackage.
E.Donotmarkthemethodwithanyaccessibilitymodifiers.
第3题
A.x=y;
B.z=x;
C.y=(B)x;
D.z=(C)y;
E.y=(A)y;
第4题
A.ThecharAt()methodoftheStringclass.
B.ThetoUpperCase()methodoftheStringclass.
C.Thereplace()methodoftheStringclass.
D.Thereverse()methodoftheStringBufferclass.
E.Thelength()methodoftheStringBufferclass.
第5题
publicclassQ76a9{
staticStringf(){
Stringa="hello";
Stringb="bye";//(0)
Stringc=b+"!";//(1)
Stringd=b;b=a;//(2)
d=a;//(3)
returnc;//(4)}
publicstaticvoidmain(Stringargs[]){
Stringmsg=f();
System.out.println(msg);//(5)
}
}
第6题
publicclassQ4a39{
inta=1;
intb=1;
intc=1;
classInner{
inta=2;intget(){
intc=3;
//insertstatementherereturnc;
}
}Q4a39(){
Inneri=newInner();
System.out.println(i.get());}
publicstaticvoidmain(Stringargs[]){
newQ4a39();
}
}
第7题
A.Itaffectswhichgridcellthecomponentsendupin.
B.Itaffectshowtheextraverticalspaceisdistributed.
C.Itaffectsthealignmentofeachcomponent.
D.Itaffectswhetherthecomponentscompletelyfilltheirallotteddisplayareavertically.
第8题
A.nativepublicvoidsetTemperature(intkelvin);
B.privatenativevoidsetTemperature(intkelvin);
C.protectedintnativegetTemperature();
D.publicabstractnativevoidsetTemperature(intkelvin);
E.nativeintsetTemperature(intkelvin){}
第9题
A.Theparticulareventinstance.
B.Thesourceoftheevent.
C.Thesetofeventsthatweretriggeredbythesameaction.
D.Thetypeofevent.
E.Thetypeofcomponentfromwhichtheeventoriginated.
第10题
A.Collection
B.Set
C.SortedSet
D.Map
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!