SCJP学习指南   SCJP学习指南  :CSDN论坛,CSDN开发高手,CSDN技术社区

SCJP学习指南  
   浏览选项:     
  一、考试信息
  1、考试科目SCJP
  2、考试编号:310-025
  3、考试题型:单选题、多选题、填空题
  4、及格分数:61%
  5、考试时间:120分钟
  6、考试费用:人民币1250元
  二、报考步骤
  1、向Sun培训部购买准考证(Certification Voucher)
  考试中心的相关资料请浏览以下网址:http://www.sylvan.com.cn。若第一次在APTC参加
考试,请提供详细的个人信息(姓名,汉语拼音姓名,英文公司名,英文地址,邮编、电话、
传真、身份证号码);若已在APTC参加过考试,提供姓名和考生身份证号码(Candidate ID)
  2、报考流程
  请您详细地填写好考试报名表上的相关资料,按照报名表上的银行资料到银行办理汇款,
银行将会给您一张回执,请您将填写好的考试报名表连同银行的回执一起再传真回给我们,我
们在收到您的传真件,确认您银行回执填写没有错误或遗漏以确保您的报名费可以顺利到达我
公司帐户后,我们将依据您报名表上的填写的地址用EMS给您寄VOUCHER,您收到VOUCHER后就
  3、考试过程
  请直接与考试中心联络,提供参加的考试的详细资料(考试号码,考试名称,考试语种,
考试日期)。考试中心将给您一份考试确认书。你于约定时间至考试中心考试,请携带考试确
认书,准考证原件及其它要求证件。题目均为英文(可选择中文),并以电脑作答。
  考试当天携带身份证/护照/军人证和一个辅助证件,在约定时间前到考场参加考试。应严
格遵守考场规则。考试结束后您应妥善保管好成绩单。对考场管理有任何意见或建议,请向
  三、证书信息
  1、请查询相应公司主页Certification或Education或Training部分。
  2、培训相关信息,请查询相应公司主页;或向APTC咨询,部分APTC同时从事培训。
  3、证书的发放一般由各认证公司负责。Sun公司的主页上有成绩及证书查询功能,网址
是:https://www.galton.com/~sun_s/login.html,可以用考生身份证号码(Candidate ID)
登录上去查询。证书发放周期各公司稍有出入,一般为一个月。
  四、考试大纲
  1、DECLARATIONS AND ACCESS CONTROL
  1、Write code that declares, constructs, and initializes arrays of any base
type using any of the permitted FORMs both for declaration and for initialization
  2、Declare classes, inner classes, methods, instance variables, static
variables, and automatic (method local) variables making appropriate use of all
permitted modifiers (such as public, final, static, abstract, and so forth)
  3、State the significance of each of these modifiers both singly and in
combination, and state the effect of package relationships on declared items
  4、For a given class, determine if a default constructor will be created, and
if so, state the prototype of that constructor
  5、State the legal return types for any method given the declarations of all
related methods in this or parent classes
  2、FLOW CONTROL AND EXCEPTION HANDLING
  1、Write code using if and switch statements and identify legal argument
  2、Write code using all FORMs of loops including labeled and unlabeled use of
break and continue, and state the values taken by loop control variables during
  3、Write code that makes proper use of exceptions and exception handling
clauses (try, catch, finally) and declares methods and overriding methods that
  3、GARBAGE COLLECTION
  1、State the behavior that is guaranteed by the garbage collection system,
and write code that explicitly makes objects eligible for collection
  4、LANGUAGE FUNDAMENTALS
  1、Identify correctly constructed source files, package declarations, import
statements, class declarations (of all FORMs including inner classes), interface
declarations and implementations (for java.lang.Runnable or other interface
described in the test), method declarations (including the main method that is
used to start execution of a class), variable declarations and identifiers
  2、State the correspondence between index values in the argument array passed
to a main method and command line arguments
  3、Identify all Java programming language keywords and correctly constructed
  4、State the effect of using a variable or array element of any kind when no
explicit assignment has been made to it
  5、State the range of all primitive data types and declare literal values for
String and all primitive types using all permitted FORMats, bases, and
  5、OPERATORS AND ASSIGNMENTS
  1、Determine the result of applying any operator, including assignment
operators, instance of, and casts to operands of any type, class, scope, or
  2、Determine the result of applying the boolean equals (Object) method to
objects of any combination of the classes java.lang.String, java.lang.Boolean,
  3、In an expression involving the operators &, |, &&, ||, and variables of
known values, state which operands are evaluated and the value of the expression
  4、Determine the effect upon objects and primitive values of passing
variables into methods and perFORMing assignments or other modifying operations
  6、OVERLOADING, OVERRIDING, RUNTIME TYPE, AND OBJECT ORIENTATION
  1、State the benefits of encapsulation in object oriented design and write
code that implements tightly encapsulated classes and the relationships "is a"
  2、Write code to invoke overridden or overloaded methods and parental or
overloaded constructors, and describe the effect of invoking these methods
  3、Write code to construct instances of any concrete class including normal
top level classes, inner classes, static inner classes, and anonymous inner
  7、THREADS
  1、Write code to define, instantiate, and start new threads using both
java.lang.Thread and java.lang.Runnable
  2、Recognize conditions that might prevent a thread from executing
  3、Write code using synchronized, wait, notify, or notifyAll, to protect
against concurrent access problems and to communicate between threads.
  4、Define the interaction between threads and between threads and object
locks when executing synchronized, wait, notify, or notifyAll
  8、THE JAVA.AWT PACKAGE
  1、Write code using component, container, and LayoutManager classes of the
java.awt package to present a Graphical User Interface with specified appearance
and resize behavior, and distinguish the responsibilities of layout managers from
  2、Write code to implement listener classes and methods, and in listener
methods, extract inFORMation from the event to determine the affected component,
  3、State the event classname for any specified event listener interface in
  9、THE JAVA.LANG PACKAGE
  1、Write code using the following methods of the java.lang.Math class: abs,
ceil, floor, max, min, random, round, sin, cos, tan, and sqrt
  2、Describe the significance of the immutability of string objects
  10、THE JAVA.UTIL PACKAGE
  1、Make appropriate selection of collection classes/interfaces to suit
  11、THE JAVA.IO PACKAGE
  1、Write code that uses objects of the file class to navigate a file system
  2、Write code that uses objects of the classes InputStreamReader and
outputStreamWriter to translate between Unicode and either platFORM default or
ISO 8859-1 character encoding and Distinguish between conditions under which
platFORM default encoding conversion should be used and conditions under which a
  3、Select valid constructor arguments for FilterInputStream and
FilterOutputStream subclasses from a list of classes in the java.io.package
  4、Write appropriate code to read, write and update files using
FileInputStream, FileOutputStream, and RandomAccessFile objects
  5、Describe the permanent effects on the file system of constructing and
using FileInputStream, FileOutputStream, and RandomAccessFile objectsSection
  五、考试资料
  1、对Marcus Green三套题的一些感想
  备考SCJP的人总是将Marcus Green的三套模拟题作为最后对自己的测试,我也是如此,但
我想发表一些自己的看法,如有不对之处请指出:首先,我觉得Marcus Green的三套模拟题的
难度系数不够,许多题都可以一眼看出结果。我建议你按下面的顺序做这三套模拟题:第1套
、第3套、第2套。第1套可以用来试手感受一下气氛。第3套题离考试最远,太侧重一些概念
,少了程序题,而且有些重要的知识点没有考到,没有做好也没有关系。第2套最接近真正的
考试,但有些题的难度不如真正的考试,内容和形式和真正考试很接近,建议花些时间认真做
  2、复习材料
  a、Java 2认证考试学习指南
  b、在线教程
  http://www.jchq.net/tutorial/introj2.htm
  c、Jxam考试软件
  http://eddiemcnally.hypermart.net/jxam.html
  d、Pgjc考试软件
  http://www.ii.uib.no/~khalid/pgjc/jcbook/engine.html
  3、考试注意事项
  a、每个题目的考试需要选择的答案个数都已指明,如果你选的答案个数不对,系统还会
给出警告。去考试的时候会给你一张纸,上面有你的考试号,和考试步骤,有什么不懂的可以
去问问工作人员。在考题的下方有几个按钮,是一些功能键,不难看懂是什么意思。答完题后
可以回去检查的,在做题的时候如果有题你不能确定的话可以选中左上角的MARK复选框,这样
便于你先检查几道有疑问的题目。如果确定要交卷的时候先END再PRINT,可以了。
  b、提醒各位,有些题选项能到G,做题时别忘了滚动一下scrool bar。
  c、不能查文档,不能带有存储功能的计算器,考试用机都不知道是什么操作系统,更不
要说上网了,如果按错了END,出来一个对话框让考生确认,只需CANCEL即可。
  d、考试是可以向回翻的,考完可以检查。
  e、考完后马上可以知道成绩,成绩是通过打印机打印出来的。当监考官在成绩单上盖上
  f、看一段程序回答问题的较多。我去的地方,是到了就考,由管理员设置好电脑,你就
开始考试。开始有一段文字,似乎不用看,类似于用户协议和考试须知。还有几个选择,都选
“Agree”就行了。2小时时间到后,就会立即给出分数并打印。然后还有一个调查问卷,可以
  六、考试要点
  1、认真学习复习教材。
  2、多做题目(Jxam、Pgjc、Marcus Green三套题的题目)。
  3、61%通过,建议考试之前到SUN的网页上先做Sun给出的样题。
  Sun样题网址:
  https://tmn.sun.com/WLC/servlet/GuestLoginServlet?id=programmer
  4、要重视Thread,份量比较多。再加一点,对于java.io.*的每一个low-level stream
、high-level stream、Reader和Writer的constructor要非常熟悉,类似的还有各listener,
collection等等,最好可以对照一下JDK里面的说明,难度会象那个Pgjc里的难度。
  6、考试中遇到的填空题,一般是String和StringBuffer的输出结果,但题目没有说明书
  7、SCJP考最基本的知识,如Java语言特征、事件模型、AWT、IO、Thread、Net等。在
SCJP考试中只考AWT,Swing在SCJD中考。
  8、复习不要太偏,把基本概念要搞清楚。另外,IO的构造函数、Thread、Inner class
、Anonymouse class、override、overload题目比较多,要重点复习。
  9、印象中几乎所有的考题都涉及2-3个以上的知识点,几乎没有可以一眼就看出答案的题
目。70%的考题是给你一段程序,然后问运行结果变量的值。这种题目非常容易落入陷阱,一
不小心就被废了。还有20%的题目是给你几个陈述句,选正确的。这些陈述句都是考很偏很偏
的东西,也不太好答。基本上我的经验是:如果一个题目马上能看出答案,请你在仔细研究一
下题目,多数情况是你落入陷阱了。如果一个题目你能很明确的看出来他要考你什么知识点,
那这个题目就完成一半了。最惨的是知道题目要考你什么,但是忘记了或没有复习相关知识细
  10、考试的一个重点是INNER CLASS。印象中一半以上的题目和他有关。都是大CLASS套
小CLASS等。一定要透彻理解相关定义,语法,特别是各种各样的MODIFIER的用法。有很多很
特殊的MODIFER规则。这些规则一定要熟练掌握并牢记在心。
  11、考试的另一个重点是循环语句。考试考一些很偏很特别的用法,虽然慢慢作都能作出
来,但浪费太多时间在这上面,实在可惜。大家好好看看书。
  12、http://www.javaranch.com/maha,这个上面的mock test和资源列表非常好。一定要
看它的mock list。