SCJP Sun certified programmer for Java 6 study guide : exam (310-065) /
Closely following both the breadth and the depth of the real exam; this study guide will help you prepare for and pass Sun Microsystem's SCJP certification for Java 6 or Java 5. --
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
New York :
McGraw-Hill,
©2008.
|
Colección: | McGraw Hill professional.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover13;
- Contents
- Contributors
- Acknowledgments
- Preface
- Introduction
- 1 Declarations and Access Control
- Java Refresher
- Identifiers & JavaBeans (Objectives 1.3 and 1.4)
- Legal Identifiers
- Sun's Java Code Conventions
- JavaBeans Standards
- Declare Classes (Exam Objective 1.1)
- Source File Declaration Rules
- Class Declarations and Modifiers
- Exercise 1-1: Creating an Abstract Superclass and Concrete Subclass
- Declare Interfaces (Exam Objectives 1.1 and 1.2)
- Declaring an Interface
- Declaring Interface Constants
- Declare Class Members (Objectives 1.3 and 1.4)
- Access Modifiers
- Nonaccess Member Modifiers
- Constructor Declarations
- Variable Declarations
- Declaring Enums
- Two-Minute Drill
- Q & A: Self Test
- Self Test Answers
- 2 Object Orientation
- Encapsulation (Exam Objective 5.1)
- Inheritance, Is-A, Has-A (Exam Objective 5.5)
- IS-A
- HAS-A
- Polymorphism (Exam Objective 5.2)
- Overriding / Overloading (Exam Objectives 1.5 and 5.4)
- Overridden Methods
- Overloaded Methods
- Reference Variable Casting (Objective 5.2)
- Implementing an Interface (Exam Objective 1.2)
- Legal Return Types (Exam Objective 1.5)
- Return Type Declarations
- Returning a Value
- Constructors and Instantiation (Exam Objectives 1.6, 5.3, and 5.4)
- Determine Whether a Default Constructor Will Be Created
- Overloaded Constructors
- Statics (Exam Objective 1.3)
- Static Variables and Methods
- Coupling and Cohesion (Exam Objective 5.1)
- Two-Minute Drill
- Q & A: Self Test
- Self Test Answers
- 3 Assignments
- Stack and Heap8212;Quick Review
- Literals, Assignments, and Variables (Exam Objectives 1.3 and 7.6)
- Literal Values for All Primitive Types
- Assignment Operators
- Exercise 3-1: Casting Primitives
- Using a Variable or Array Element That Is Uninitialized and Unassigned
- Local (Stack, Automatic) Primitives and Objects
- Passing Variables into Methods (Objective 7.3)
- Passing Object Reference Variables
- Does Java Use Pass-By-Value Semantics?
- Passing Primitive Variables
- Array Declaration, Construction, and Initialization (Exam Objective 1.3)
- Declaring an Array
- Constructing an Array
- Initializing an Array
- Initialization Blocks
- Using Wrapper Classes and Boxing (Exam Objective 3.1)
- An Overview of the Wrapper Classes
- Creating Wrapper Objects
- Using Wrapper Conversion Utilities
- Autoboxing
- Overloading (Exam Objectives 1.5 and 5.4)
- Garbage Collection (Exam Objective 7.4)
- Overview of Memory Management and Garbage Collection
- Overview of Java's Garbage Collector
- Writing Code That Explicitly Makes Objects Eligible for Collection
- Exercise 3-2: Garbage Collection Experiment
- Two-Minute Drill
- Q & A: Self Test
- Self Test Answers
- 4 Operators
- Java Operators (Exam Objective 7.6)
- Assignment Operators
- Relational Operators
- instanceof Comparison
- Arithmetic Operators
- Conditional Operator
- Logical Operators
- Two-Minute Drill
- Q & A: Self Test
- Self Test Answers
- 5 Flow Control, Exceptions, and Assertions
- if and switch Statements (Exam Objective 2.1)
- if-else Branching
- switch Statements
- Exercise.