欢迎来到天天文库
浏览记录
ID:24160451
大小:52.00 KB
页数:3页
时间:2018-11-13
《sun scjp 311》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SUNSCJP310 1.ClicktheTaskbutton. Draganddropquestion.Dragtheitemstotheproperlocations. CorrectAnsstotheproperlocations. CorrectAnsethodinaclass: 21.publicStringtoString(){ 22. StringBufferbuffer=nee); 25. buffer.append('>'); 26. returnbuffer.toString(); 27.} entistrue? A:Thi
2、scodeisNOTthread-safe. B:TheprogrammercanreplaceStringBufferpoorly.Forbetterperformance,thecodeshouldberee+>; D:Thiscodeance. CorrectAnsDirection{NORTH,SOUTH,EAST,ain(String[]args){123下一页[教育资源网]edu..,。 4. byte[]bytes=neeApptousetheprocessmethodofBitUtils? A:process(bytes); B:BitUtils.pr
3、ocess(bytes); C:app.BitUtils.process(bytes); D:util.BitUtils.process(bytes); E:importutil.BitUtils.*;process(bytes); F:SomeAppcannotusetheprocessmethodinBitUtils. CorrectAnsberFormatnf=NumberFormat.getInstance(); 13. nf.setMaximumFractionDigits(4); 14. nf.setMinimumFractionDigits(2); 15.
4、Stringa=nf.format(3.1415926); 16. Stringb=nf.format(2); ath.PI); apap. B:DeletingaPersonkeyfromaHashMapapentriesforallkeysoftypePerson. C:InsertingasecondPersonobjectintoaHashSetovedasaduplicate. D:Thetimetodetermineap. CorrectAnswers: A上一页123下一页[教育资源网]edu..,。上一页123[教育资源网]edu..,。
此文档下载收益归作者所有