网站大量收购独家精品文档,联系QQ:2885784924

jsp笔试题1(国外英文资料).doc

  1. 1、本文档共17页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
jsp笔试题1(国外英文资料)

jsp笔试题1(国外英文资料) 1, choice (1 point, 40 points) Here is the code snippet of the FileInputStream reading the file: File file1 = new File (fileName); FileInputStream finput = new FileInputStream (file1); Int size = finput. Available () BufferedInputStream buffer1 = new BufferedInputStream (finput); Byte b [] = new byte [90]; Int n = 0; While (n = buffer1.read (b)) = -1 AllFilesmess. Append (b, 0, n)) () 1. Finput. Close (); In addition to the last time, buffer1.read (b) in the code reads the number of bytes in the file. (A) A) 90 B) 89 C) n D) size/n In the following code, where rs is the result set for the query, there are several cells (B) in each row of the table after the code runs. While (RRS. Next ()) {... Print ( tr ); Print ( td + rr.getstring (1) + / td ); Print ( td + rr.getstring (2) + / td ); Print ( td + rr.getstring (3) + / td ); Print ( td + publish + / td ); Print ( td + rs. GetFloat + / td ); ( / tr ); } A) 4 B) 5 C) 6 D) not sure The following Servlet method is executed when the method is loaded, and only once, which is responsible for initializing the Servlet. (B) A) service () B) init () C) doPost () D) destroy () The URL is the naming mechanism for resources in the Internet, and the URL consists of three parts (A). A) protocol, host DNS name, or IP address and file name B) host, DNS name, or IP address and file name, protocol C) protocol, file name, host name D) protocol, file name, and IP address The following method of setting colors is incorrect (D) A) body bgcolor = red B) body bgcolor = yellow C) body bgcolor = # FF0000 D) body bgcolor = # HH00FF title / title is marked between head / head tags, and the content of title / title tags will be displayed to (). A) browsers title bar C) the browsers status bar, the D) browsers lower page p align = the line of paragraphs in the tag, the align attribute is the alignment of the paragraph text and cannot be taken as (D). A) Left B) Right C) Center D) width T

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档