![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SCJP
miraclerz
这个作者很懒,什么都没留下…
展开
-
SCJP真题库更新1
• 考试大纲 第一部分:Java语言基础 第二部分:流程控制 第三部分:面向对象 封装,继承,多态 第四部分:异常处理 第五部分:多线程 第六部分:Java 垃圾回收机制 第七部分:Java I/O 第八部分:Java集合和泛型 第九部分:Java SE实用API QUESTION 1 Given the code in the ex...2012-05-29 16:52:29 · 133 阅读 · 0 评论 -
SCJP真题库更新14
QUESTION 66 Given a pre-generics implementation of a method: Which three changes must be made to the method sum to use generics? (choose three) A. remove line 14 B. replace line 14 with ...2012-06-12 08:23:08 · 81 阅读 · 0 评论 -
SCJP真题库更新15
QUESTION 71 Given: A programmer is developing a class Key, that will be used as a key in a standard java.util.HashMap. Which two methods should be overridden to assure that key works correctly ...2012-06-13 09:45:16 · 101 阅读 · 0 评论 -
SCJP真题库更新16
QUESTION 76 A class games.cards.Poker is correctly defined in the jar file Poker.jar. A user wants to execute the main method of Poker on a UNIX system using the command: Java games.cards.Poker W...2012-06-14 08:37:57 · 132 阅读 · 0 评论 -
SCJP真题库更新17
QUESTION 81 Given: and two separate command line invocations: java Yippee java Yippee 1 2 3 4 What is the result? A. No output is produced. 1 2 3 B. No output is produced. ...2012-06-15 11:32:05 · 144 阅读 · 0 评论 -
SCJP真题库更新18
QUESTION 86 Given: What is the result? A. A, B, C B. B, C, A C. Compilation fails D. The code runs with no output E. An exception is thrown at runtime Answer:...2012-06-16 09:02:37 · 87 阅读 · 0 评论 -
SCJP真题库更新19
QUESTION 91 Given a method that must ensure that its parameter is not null: What, inserted at line 12, is the appropriate way to handle a null value? A. assert value = = null; B. assert val...2012-06-29 07:52:05 · 99 阅读 · 0 评论 -
SCJP真题库更新20
QUESTION 96 Given: What is the result? A. Compilation fails B. Pi is approximately 3. C. Pi is approximately 3.141593. D. An exception is thrown at runtime. Answer: ( D ) %d打印一个整数,...2012-06-30 07:43:23 · 107 阅读 · 0 评论 -
SCJP真题库更新21
QUESTION 101 Given: What creates the appropriate DateFormat object and adds a day to the Date object? A. 35. Dateformat df = Dateformat.getDateFormat(); 42. d.setTime ( (60 * 60 * 24) +...2012-07-02 08:24:19 · 157 阅读 · 0 评论 -
SCJP真题22
QUESTION 106 Given: What is the appropriated definition of the hashCode method in class Person? A. return super.hashCode(); B. return name.hashCode() + age * 7; C. return name.hashCode() ...2012-07-18 11:04:02 · 104 阅读 · 0 评论 -
SCJP真题汇总第二卷下载
面所有SCJP的真题,现在给大家提供下载,包括以前发布真题时所遗漏的一些图片(二)2012-11-15 08:07:47 · 131 阅读 · 0 评论 -
SCJP真题库更新13
QUESTION 61 GIVEN THE EXHIBIT: Which statement is true? A. All of the assert statements are used appropriately. B. Only the assert statement on line 31 is used appropriately C. The asse...2012-06-11 08:13:31 · 89 阅读 · 0 评论 -
SCJP真题库更新12
QUESTION 51 Given the exhibit: Which two statements are true? (choose two) A. Certkiller.beta ( ) is a valid invocation of beta ( ) B. Certkiller.alpha ( ) is a valid invocation of alpha (...2012-06-09 09:07:26 · 172 阅读 · 0 评论 -
SCJP真题库更新2
QUESTION 3 Given the exhibit. What is the result? A. 0 B. 1 C. 4 D. Compilation fails E. An exception is thrown at runtime Answer: ( D ) 产生illegal escape character 非法转...2012-05-30 08:29:49 · 92 阅读 · 0 评论 -
SCJP真题库更新3
QUESTION 6 Given: System.out.printf("Pi is approximately %f and E is approximately %b", Math.PI, Math.E); Place the values where they would appear in the output. Answer: ( ) 3.141593 Tr...2012-05-31 08:50:30 · 125 阅读 · 0 评论 -
SCJP真题库更新4
QUESTION 10 Given the exhibit: What is the result? A. short Long B. SHORT LONG C. Compilation fails D. An exception is thrown at runtime Answer: ( C ) 向上就近原则. 第20行的go(z)将会依序找go(...2012-06-01 10:25:11 · 89 阅读 · 0 评论 -
SCJP真题库更新5
QUESTION 14 Given the exhibit: Which statement is true? A. This code may throw an InterruptedException B. This code may throw an IllegalStateExcepion C. This code may throw a TimeOutExcept...2012-06-01 10:27:25 · 141 阅读 · 0 评论 -
SCJP真题库更新6
QUESTION 18 Exhibit: What is the result? A. The code will deadlock B. The code may run with no output C. An exception is thrown at runtime D. The code may run with output " 0 6 " E. ...2012-06-02 09:04:14 · 91 阅读 · 0 评论 -
SCJP真题库更新7
QUESTION 25 Exhibit: What is the result? A. Value is : 8 B. Compilation fails. C. Value is : 12 D. Value is ; -12 E. The code runs with no output F. An exception is thrown at runtime. ...2012-06-04 10:06:01 · 138 阅读 · 0 评论 -
SCJP真题库更新8
QUESTION 31 Exhibit: What is the output of the program shown in the exhibit? A. 300.100.100.100.100 B. 300.300.100.100.100 C. 300.300.300.100.100 D. 300.300.300.300.100 Answer: ( B...2012-06-05 08:46:28 · 81 阅读 · 0 评论 -
SCJP真题库更新9
QUESTION 36 Given the exhibit: C. System.property ("prop.custom"); D. System.getProperty ("prop.custom"); 根据系统参数来取出对应的参数内容 E. System.getProperties ( ).getProperty ("prop.custom"); 取得所有系统参数...2012-06-06 09:02:47 · 134 阅读 · 0 评论 -
SCJP真题库更新10
QUESTION 41 Given the exhibit: What is the result when this code executed? A. 1 B. 3 C. 123 D. 321 E. The code runs with no output Answer: ( C ) 子类先调用父类的构造函数,在调用自己的构造函数; 参考大...2012-06-07 08:42:09 · 81 阅读 · 0 评论 -
SCJP真题库更新11
QUESTION 46 1.public class Test{ 2. int x = 12; 3. public void method(int x ){ 4. x += x; 5. System.out.println( x); 6. } 7.} And: 22. Test t = new...2012-06-08 07:55:33 · 156 阅读 · 0 评论 -
SCJP真题汇总第一卷下载
整理前面所有SCJP的真题,现在给大家提供下载,包括以前发布真题时所遗漏的一些图片2012-08-20 09:54:07 · 112 阅读 · 0 评论