Section 1: Declarations and Access Control <声明和访问控制>
1.1 Develop code that declares classes (including abstract and all forms of nested classes), interfaces, and enums, and includes the appropriate use of package and import statements (including static imports).
1.2 Develop code that declares an interface. Develop code that implements or extends one or more interfaces. Develop code that declares an abstract class. Develop code that extends an abstract class.
1. 3 Develop code that declares, initializes, and uses primitives, arrays, enums, and objects as static, instance, and local variables. Also, use legal identifiers for variable names.
1.4 Develop code that declares both static and non-static methods, and—if appropriate—use method names that adhere to the JavaBeans naming standards. Also develop code that declares and uses a variable-length argument list.
1.5 Given a code example, determine if a method is correctly overriding or overloading another method, and identify legal return values (including covariant returns), for the method.
1.6 Given a set of classes and superclasses, develop constructors for one or more of the classes. Given a class declaration, determine if a default constructor will be created, and if so, determine the behavior of that constructor. Given a nested or non-nested class listing, write code to instantiate the class.
Section 2: Flow Control, Exceptions, and Assertions <流程控制,异常和断言>
2. 1 Develop code that implements an if or switch statement; and identify legal argument types for these statements.
2.2 Develop code that implements all forms of loops and iterators, including the use of for, the enhanced for loop (for-each), do, while, labels, break, and continue; and explain the values taken by loop counter variables during and after loop execution.
2.3 Develop code that makes use of assertions, and distinguish appropriate from inappropriate uses of assertions.
2.4 Develop code that makes use of exceptions and exception handling clauses (try, catch, finally), and declares methods and overriding methods that throw exceptions.
2.5 Recognize the effect of an exception arising at a specific point in a code fragment, Note that the exception may he a runtime exception, a checked exception, or an error.
2.6 Recognize situations that will result in any of the following being thrown: ArrayIndexOutOfBoundsException, ClassCastException, IllegalArgumentException, IllegalStateException, NullPointerException, NumberFormatException, AssertionError, ExceptionInInitializerError, StackOverflowError, or NoClassDefFoundError. Understand which of these are thrown by the virtual machine and recognize situations in which others should be thrown programmatically.
分享到:
相关推荐
SCJP学习指南(Exam310-055)附带光盘.rarSCJP学习指南(Exam310-055)附带光盘.rarSCJP学习指南(Exam310-055)附带光盘.rarSCJP学习指南(Exam310-055)附带光盘.rarSCJP学习指南(Exam310-055)附带光盘.rarSCJP...
SCJP考试310-055(362题).part2.rar 310-055(362题).part2.rar
(1)(3) scjp考试专门用书,专门针对310-055。(2) SCJP中文版(1) SCJP中文版(1)(1)(3) SCJP中文版(1)(4) SCJP中文版,数码相机拍的。310-055考试参考用书,对于英文水平不太高的,很适用。(1) scjp考试专门用书,...
SCJP考试310-055(362题).part1.rar
(1)(3) SCJP中文版(1) scjp考试专门用书,专门针对310-055。(2) SCJP中文版(1)(4) scjp考试专门用书,专门针对310-055。(2)(3)SCJP中文版,数码相机拍的。310-055考试参考用书,对于英文水平不太高的,很适用。(1...
《SCJP学习指南(Exam310-055)附带光盘》是一本针对Sun Certified Programmer for the Java 2 Platform, Standard Edition (SCJP)考试的专业教材。SCJP认证是Java程序员入门的重要证书,它验证了考生对Java语言的...
310-055模拟题1
SCJP(Sun Certified Programmer for the Java 2 Platform, Standard Edition 6)是Oracle公司认证的Java程序员资格证书,编号310-055。这个认证主要针对的是Java SE 6平台,旨在验证开发者对Java编程语言的基础知识...
SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055)
(1) SCJP中文版(1)(1) scjp考试专门用书,专门针对310-055。(2) SCJP中文版(1)SCJP中文版,数码相机拍的。310-055考试参考用书,对于英文水平不太高的,很适用。(1) SCJP中文版(1)(1) scjp考试专门用书,专门针对...
《SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055)》是一本专门针对Sun Microsystems(后被Oracle收购)推出的Java 5程序员认证考试的复习指南。这本书旨在帮助读者深入理解Java语言的核心...
310-065和310-055是SCJP认证的两个不同版本号,可能对应不同年份或不同版本的Java规范。 标题中的"SCJP 310-065 310-055 题库 合集"表明这是一系列针对这两个考试的练习题集合。题库通常包括模拟试题、历年真题,...