四川联宏信息技术开发有限公司.pdf

  1. 1、本文档共6页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
选择题 1: 使用 JDBC 可以做到的是 A. 把二进制代码传送到任何关系数据库中 B.把 Java 源代码传送到任何关系数据库中 C. 把表单信息传送到任何关系数据库中 D. 很容易地把 SQL 语句传送到任何关系数据库中 2: 1. Give this class outline: 2. class Example{ 3. private int x; 4. //rest of class body … 5. } 6. Assuming that x invoked by the code java Example, which statement can made x be directly accessible in main() method of Example.java? A.Change private int x to public int x B.change private int x to static int x C.Change private int x to protected int x D.change private int x to final int x 3: Math.round(-11.5) 等於多少 ? A.-11 B.-12 C.-11.5 D.none 4: Which statement about the garbage collection mechanism are true? A.Garbage collection require additional programe code in cases where multiple threads are running. B.The programmer can indicate that a reference through a local variable is no longer of interest. C.The programmer has a mechanism that explicity and immediately frees the memory used by Java objects. D.The garbage collection mechanism can free the memory used by Java Object at explection time. 5: public class Parent { int change() { …} } class Child extends Parent { } Which methods can be added into class Child? A.public int change(){} B.abstract int chang(){} C.private int change(){} D.none 6:Which of the following statements are not legal? A.long l = 4990; B.int i = 4L; C.double d = 34.4; D.double t = 0.9F. 7: 关于垃圾收集的哪些叙述是对的。 A. 程序开发者必须自己创建一个线程进行内存释放的工作。 B. 垃圾收集将检查并释放不再使用的内存。 C. 垃圾收集允许程序开发者明确指定并立即释放该内存。 D. 垃圾收集能够在期望的时间释放被 java 对象使用的内存。 8: 以下的 C 程序代码片段运行后 C 和 d 的值分别是多少 Int a =1,b =2; Int c,d; c =(ab)a; d =(ab)a; A.0,0 B.0,1 C.1,0 D.1,1 9: 1. Give the f

文档评论(0)

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

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

1亿VIP精品文档

相关文档