finalist在线面试题

上传人:正** 文档编号:41038185 上传时间:2018-05-28 格式:DOC 页数:20 大小:182KB
返回 下载 相关 举报
finalist在线面试题_第1页
第1页 / 共20页
finalist在线面试题_第2页
第2页 / 共20页
finalist在线面试题_第3页
第3页 / 共20页
finalist在线面试题_第4页
第4页 / 共20页
finalist在线面试题_第5页
第5页 / 共20页
点击查看更多>>
资源描述

《finalist在线面试题》由会员分享,可在线阅读,更多相关《finalist在线面试题(20页珍藏版)》请在金锄头文库上搜索。

1、答题统计答题统计: :共 30 道题, 总分 30 分 答对 13 道, 得 13 分, 答题用时 34 分钟 基本技能SQLSQL B.Object result = getServletConfig().getInitParameter(“param“);C.String result = getServletContext().getInitParameter(“param“);D.String result = getServletContext().getAttribute(“param“);你选的答案: C 测试结果: 第第 1212 题题 题目分类:Servlet Which s

2、copes can be used to store attributes in the Servlet based application:Notation: scopeName (CorrespondingType) A.application (ServletContext)B.request (ServletRequest)C.response (ServletResponse)D.session (HttpSession)E.servlet config (ServletConfig)你选的答案: A C D E a b d 测试结果: 第第 1313 题题 题目分类:Java SE

3、 - Basic When might your program wish to run the garbage collector? A.before it enters a compute-intense section of codeB.before it enters a memory-intense section of codeC.when it knows there will be some idle timeD.before objects are finalizedE.All the aboveF.None你选的答案: A B C D E bcd 测试结果: 第第 1414

4、 题题 题目分类:Java SE - Basic The transient keyword is used as part of which mechanism? A.Design patternsB.PolymorphismC.ReflectionD.Serialization你选的答案: D 测试结果: 第第 1515 题题 题目分类:Java SE - Basic Which of the following can you perform using the File class?A.Change the current directory B.Return the name of

5、the parent directory C.Delete a file D.Find if a file contains text or binary information你选的答案: A B C D 测试结果: 第第 1616 题题 题目分类:Java SE - Basic What is the default scope of an instance variable or method? A.publicB.protectedC.privateD.staticE.package你选的答案: C 测试结果: 第第 1717 题题 题目分类:Java SE - Basic Which

6、 of the following statements are true for StringBuffers (java.util.StringBuffer )? A.StringBuffer class is used to represent strings that can be modifiedB.Objects of type StringBuffer are read onlyC.Objects of type StringBuffer are immutableD.StringBuffer is more efficient than String when performin

7、g concatenations in most situations你选的答案: A C D 测试结果: 第第 1818 题题 题目分类:Java SE - Basic Which code is faster? 1. or 2.?1.1. 1: String string = new String(); 2: int length = 2000; 3: for(int i = 0; ilength; i+) 4: string += “Hello world.“; 5: 2.2. 1: StringBuffer stringBuffer = new StringBuffer(); 2: i

8、nt length = 2000; 3: for(int i = 0; ilength; i+) 4: stringBuffer.append(“Hello world.“); 5: A.Compilation error.B.1.C.2.D.Speeds of 1. and 2. option are not different. Speeds of 1. and 2. are the same.你选的答案: C 测试结果: 第第 1919 题题 题目分类:Java SE - Basic Select the interfaces/classes that can be ordered us

9、ing Collections.sort A.ArrayListB.CollectionsC.VectorD.SetE.List你选的答案: A C E 测试结果: 第第 2020 题题 题目分类:UML Which words are UML keywords ? A.includeB.volatileC.stereotypeD.genericE.extend你选的答案: A D E 测试结果: 第第 2121 题题 题目分类:UML Given the following description:Person object completely owns the Address objec

10、t, so that it doesnt exist outside of the Person object.Which image reflects the scenario described above?A.aB.bC.None of the above.你选的答案: B 测试结果: 第第 2222 题题 题目分类:UML The following are UML diagrams: A.Activity diagram.B.Use case diagram.C.Class diagram.D.Database diagram.E.Sequence diagram.你选的答案: A

11、B C E 测试结果: 第第 2323 题题 题目分类:UML The purpose of behavioral diagrams is as follows: A.To show the static structure of the system being modeled.B.To show the dynamic behavior between the objects in the system.C.Both the above.D.None of the above.你选的答案: C 测试结果: b 第第 2424 题题 题目分类:JavaScript Which of the

12、following lines of code will print to the page the text: HisHis namename waswas HenryHenry “Sky“Sky“ PhilipsPhilips ? A.document.write(“His name was Henry “Sky“ Philips“);B.document.write(His name was Henry “Sky“ Philips);C.document.write(“His name was Henry “Sky“ Philips“);D.document.write(“His nam

13、e was Henry “Sky“ Philips“);E.document.write(His name was Henry “Sky“ Philips);你选的答案: C D 测试结果: 第第 2525 题题 题目分类:JavaScript What events will be triggered when mouse button is released without moving the cursor?A.onmouseup and onclickB.onclick and onmouseoverC.onmouseover and onmouseupD.onmousemove an

14、d onmousedown你选的答案: A 测试结果: 第第 2626 题题 题目分类:JavaScript The unescape function is deprecated since JavaScript 1.5. Which of the following functions can be used to replace it? A.escapeB.decodeURIC.decodeURIComponentD.decodeURIStringE.encodeURI你选的答案: A B 测试结果: 第第 2727 题题 题目分类:JavaScript Which of the fol

15、lowing code fragments opens a new browser window? A.new Window(“http:/“);B.window.create(“http:/“);C.window.open(“http:/“, “_blank“);D.createWindow(“http:/“);E.It is not possible to open new window from JavaScript.你选的答案: C 测试结果: 第第 2828 题题 题目分类:JavaScript Which of the following HTML tag(s) support onchange event? A.FORMB.INPUTC.TEXTAREAD.SELECTE.TABLEF.IMAGE你选的答案: A B C D 测试结果: 第第 2929 题题 题目分类:JavaScript What is the value of i after the following for loop?for (var i = 0; i 2; i+) /Do nothing / What is the value of i here?A.undefinedB.0C.1D.2你选的答案: A 测试结果:

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号