Revision [10079]

This is an old revision of WikiLost made by WikiLost on 2005-07-18 04:03:04.

 

WikkaDocumentation Wikka Documentation

SCJP 1.5 考试范围

Section 1: Declarations, Initialization and Scoping
第一部分1: 声明,初始化,作用域
-0xCAFE


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).
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.
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.
4) 编写声明为静态和非静态的方法的代码.如果可以,使用与JavaBeans命名标准给方式命名.同时编写声明和使用变长参数列的代码.
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.
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.
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.

CategoryDocumentation
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki