Java程序员认证模拟题及详细分析(1)
日期:2006年10月15日 作者: 查看:[大字体 中字体 小字体]-
一.说明:(真实考试)
1.考试形式:网络计算机
2.考题形式:多选,单选,简答
3.题量:60
4.考试时间:120分钟
二.模拟题
1.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.
E. The garbage collection system never reclaims memory from objects while are still accessible to running user threads.
2. Give the following method:
1) public void method( ){
2) String a,b;
3) a=new String(“hello world”);
4) b=new String(“game over”);
5) System.out.println(a+b+”ok”);
6) a=null;
7) a=b;
8) System.out.println(a);
9) }
In the absence of compiler optimization, which is the earliest point the object a refered is definitely elibile to be garbage collection.
A. before line 3
B.before line 5
C. before line 6
D.before line 7
E. Before line 9
3. In the class java.awt.AWTEvent,which is the parent class upon which jdk1.1 awt events are based there is a method called getID which phrase accurately describes the return value of this method?
A. It is a reference to the object directly affected by the cause of the event.
B. It is an indication of the nature of the cause of the event.
C. It is an indication of the position of the mouse when it caused the event.
D. In the case of a mouse click, it is an indication of the text under the mouse at the time of the event. - [1] [2] [3] [4] [5] [6] [7] 下一页
-
- Java程序员认证模拟题及详细分析(1) 相关文章:
- ·Java程序员认证模拟题及详细分析(1)
- Java程序员认证模拟题及详细分析(1) 相关软件
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
下一篇:SCJP考试心得
精品推荐
热点TOP10
- ·Java认证心得:顺利通过SCJP测试全接触
- ·SUN认证Java2程序员考试(SCJP)试题解析
- ·我的scjp考试经历
- ·JAVA考试认证:SCJP310-035考试心得
- ·通过Java认证 SCJP 考试之精辟总结
- ·JAVA认证培训辅导:随机整数的生成
- ·SCJP考试过后说大纲
- ·最新Sun授权国内考试中心一览表
- ·SUN认证JAVA程序员(SCJP 2)认证考试心得
- ·scjp认证考试复习笔记
- ·剑桥大学java期末考试题一份
- ·Java程序员认证模拟题及详细分析(1)
- ·Java语言的12大特色介绍
- ·全国计算机等级考试二级Java考试大纲
- ·SUN认证Java2程序员考试(SCJP) 试题解析
- ·通过SUN SCJP考试心得
- ·了解考试系列:二级Java语言的软件环境、考试时间、考试题型及分值
- ·SUN认证考试报考步骤
- ·SUN国际认证考试--还有第二次免费考试机会
- ·SUN国际认证考试指定考试考场
