一、考試信息 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、考試過程 請直接與考試中心聯絡,提供參加的考試的具體資料(考試號碼,考試名稱,考試語種,考試日期)。考試中心將給您一份考試確認書。你于約定時間至考試中心考試,請攜帶考試確認書,準考證原件及其它要求證件。題目均為英文(可選擇中文),并以電腦作答。 考試當天攜帶身份證/護照/軍人證和一個輔助證件,在約定時間前到考場參加考試。應嚴格遵守考場規則。考試結束后您應妥善保管好成績單。對考場治理有任何意見或建議,請向PRometric公司北京辦事處反映。 三、證書信息 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 qualified by these modifiers 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 types for these statements 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 and after loop execution 3、Write code that makes proper use of exceptions and exception handling clauses (try, catch, finally) and declares methods and overriding methods that throw exceptions 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 identifiers 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 representations 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 accessibility, or any combination of these 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, and java.lang.Object 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 in that method 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" and "has 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 classes 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 those of containers 2、Write code to implement listener classes and methods, and in listener methods, extract inFORMation from the event to determine the affected component, mouse position, nature, and time of the event 3、State the event classname for any specified event listener interface in the java.awt.event package 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 specified behavior requirements 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 specific conversion should be used 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