最新文章列表

第1章-声明和访问控制

1、Java回顾       Java 程序主要是对象的集合,对象之间通过调用彼此的方法与其他对象进行交互,共同完成一项或多项任务。Java中每个对象都属于某一个类(class)或一个借口(interface)定义的类型。 类:描述对象状态和行为的模板。 对象:类的具体实例,拥有自己的状态以及对其父类所有行为的访问权限。 状态(实例变量):每个对象拥有的类定义的独特的实例变量集,实例 ...
JokerLinisty 评论(0) 有506人浏览 2015-03-09 11:59

SCJP

  1> Wrapper     1) Boxing, ==, and equals() public class WrapperTest { @Test public void integerEqualsTest() { assertFalse(new Integer(127) == new Integer(127)); assertTrue((new Inte ...
DavyJones2010 评论(0) 有698人浏览 2014-12-26 09:58

SCJP真题汇总第二卷下载

面所有SCJP的真题,现在给大家提供下载,包括以前发布真题时所遗漏的一些图片(二)
miraclerz 评论(0) 有821人浏览 2012-11-15 08:07

SCJP真题汇总第一卷下载

整理前面所有SCJP的真题,现在给大家提供下载,包括以前发布真题时所遗漏的一些图片
miraclerz 评论(0) 有1066人浏览 2012-08-20 09:54

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) + ...
miraclerz 评论(0) 有1063人浏览 2012-07-02 08:24

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
miraclerz 评论(0) 有902人浏览 2012-06-30 07:43

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 valu ...
miraclerz 评论(0) 有1030人浏览 2012-06-29 07:52

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
miraclerz 评论(0) 有903人浏览 2012-06-16 09:02

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
miraclerz 评论(0) 有1001人浏览 2012-06-15 11:32

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 Wh ...
miraclerz 评论(0) 有1026人浏览 2012-06-14 08:37

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 a ...
miraclerz 评论(0) 有1004人浏览 2012-06-13 09:45

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 & ...
miraclerz 评论(0) 有1041人浏览 2012-06-12 08:23

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 asser ...
miraclerz 评论(0) 有927人浏览 2012-06-11 08:13

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 ( ...
miraclerz 评论(0) 有1003人浏览 2012-06-09 09:07

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.     }
miraclerz 评论(0) 有925人浏览 2012-06-08 07:55

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  
miraclerz 评论(0) 有991人浏览 2012-06-07 08:42

SCJP真题库更新9

QUESTION 36 Given the exhibit:   C. System.property ("prop.custom");   D. System.getProperty ("prop.custom"); 根据系统参数来取出对应的参数内容 E. System.getProperties ( ).getProperty (" ...
miraclerz 评论(0) 有896人浏览 2012-06-06 09:02

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 ...
miraclerz 评论(0) 有1110人浏览 2012-06-05 08:46

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. ...
miraclerz 评论(0) 有900人浏览 2012-06-04 10:06

最近博客热门TAG

Java(141747) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54918) .net(54785) Web(54513) 工作(54116) Linux(50906) Oracle(49876) 应用服务器(43288) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37268) 数据结构(36423)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics