A Programmer's Guide To Java® SE 8 Oracle Certified Associate (OCA) Programmer’s Java SCJP Certification Third Edition
A%20Programmer%E2%80%99s%20Guide%20to%20Java%20SCJP%20Certification%20Third%20Edition
A%20Programmer%E2%80%99s%20Guide%20to%20Java%20SCJP%20Certification%20Third%20Edition
User Manual:
Open the PDF directly: View PDF
Page Count: 1089 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Contents
- List of Figures
- List of Tables
- List of Examples
- Foreword
- Preface
- 1 Basics of Java Programming
- 2 Language Fundamentals
- 3 Declarations
- 4 Access Control
- 4.1 Java Source File Structure
- 4.2 Packages
- 4.3 Searching for Classes
- 4.4 The JAR Utility
- 4.5 System Properties
- Review Questions
- 4.6 Scope Rules
- 4.7 Accessibility Modifiers for Top-Level Type Declarations
- 4.8 Other Modifiers for Classes
- Review Questions
- 4.9 Member Accessibility Modifiers
- Review Questions
- 4.10 Other Modifiers for Members
- Review Questions
- Chapter Summary
- Programming Exercise
- 5 Operators and Expressions
- 5.1 Conversions
- 5.2 Type Conversion Contexts
- 5.3 Precedence and Associativity Rules for Operators
- 5.4 Evaluation Order of Operands
- 5.5 The Simple Assignment Operator =
- Review Questions
- 5.6 Arithmetic Operators: *, /, %, +, -
- Arithmetic Operator Precedence and Associativity
- Evaluation Order in Arithmetic Expressions
- Range of Numeric Values
- Unary Arithmetic Operators: -, +
- Multiplicative Binary Operators: *, /, %
- Additive Binary Operators: +, -
- Numeric Promotions in Arithmetic Expressions
- Arithmetic Compound Assignment Operators: *=, /=, %=, +=, -=
- Review Questions
- 5.7 The Binary String Concatenation Operator +
- 5.8 Variable Increment and Decrement Operators: ++, --
- Review Questions
- 5.9 Boolean Expressions
- 5.10 Relational Operators: <, <=, >, >=
- 5.11 Equality
- 5.12 Boolean Logical Operators: !, ^, &, |
- 5.13 Conditional Operators: &&, ||
- Review Questions
- 5.14 The Conditional Operator: ?:
- 5.15 Other Operators: new, [], instanceof
- Chapter Summary
- Programming Exercise
- 6 Control Flow
- 6.1 Overview of Control Flow Statements
- 6.2 Selection Statements
- Review Questions
- 6.3 Iteration Statements
- 6.4 Transfer Statements
- Review Questions
- 6.5 Stack-Based Execution and Exception Propagation
- 6.6 Exception Types
- 6.7 Exception Handling: try, catch, and finally
- 6.8 The throw Statement
- 6.9 The throws Clause
- Review Questions
- 6.10 Assertions
- Review Questions
- Chapter Summary
- Programming Exercises
- 7 Object-Oriented Programming
- 7.1 Single Implementation Inheritance
- 7.2 Overriding Methods
- 7.3 Hiding Members
- 7.4 The Object Reference super
- Review Questions
- 7.5 Chaining Constructors Using this() and super()
- Review Questions
- 7.6 Interfaces
- Review Questions
- 7.7 Arrays and Subtyping
- 7.8 Reference Values and Conversions
- 7.9 Reference Value Assignment Conversions
- 7.10 Method Invocation Conversions Involving References
- 7.11 Reference Casting and the instanceof Operator
- Review Questions
- 7.12 Polymorphism and Dynamic Method Lookup
- 7.13 Inheritance Versus Aggregation
- 7.14 Basic Concepts in Object-Oriented Design
- Review Questions
- Chapter Summary
- Programming Exercises
- 8 Nested Type Declarations
- 9 Object Lifetime
- 9.1 Garbage Collection
- 9.2 Reachable Objects
- 9.3 Facilitating Garbage Collection
- 9.4 Object Finalization
- 9.5 Finalizer Chaining
- 9.6 Invoking Garbage Collection Programmatically
- Review Questions
- 9.7 Initializers
- 9.8 Field Initializer Expressions
- 9.9 Static Initializer Blocks
- 9.10 Instance Initializer Blocks
- 9.11 Constructing Initial Object State
- Review Questions
- Chapter Summary
- 10 Fundamental Classes
- 10.1 Overview of the java.lang Package
- 10.2 The Object Class
- Review Questions
- 10.3 The Wrapper Classes
- Review Questions
- 10.4 The String Class
- Immutability
- Creating and Initializing Strings
- The CharSequence Interface
- Reading Characters from a String
- Comparing Strings
- Character Case in a String
- Concatenation of Strings
- Searching for Characters and Substrings
- Extracting Substrings
- Converting Primitive Values and Objects to Strings
- Formatting Values
- Pattern Matching
- Review Questions
- 10.5 The StringBuilder and the StringBuffer Classes
- Review Questions
- Chapter Summary
- Programming Exercises
- 11 Files and Streams
- 12 Localization, Pattern Matching, and Formatting
- 12.1 The java.util.Locale Class
- 12.2 The java.util.Date Class
- 12.3 The java.util.Calendar Class
- 12.4 The java.text.DateFormat Class
- 12.5 The java.text.NumberFormat Class
- Review Questions
- 12.6 String Pattern Matching Using Regular Expressions
- Review Questions
- 12.7 Formatting Values
- Review Questions
- Chapter Summary
- Programming Exercises
- 13 Threads
- 14 Generics
- 14.1 Introducing Generics
- 14.2 Generic Types and Parameterized Types
- 14.3 Collections and Generics
- 14.4 Wildcards
- 14.5 Using References of Wildcard Parameterized Types
- 14.6 Bounded Type Parameters
- Review Questions
- 14.7 Implementing a Simplified Generic Stack
- 14.8 Generic Methods and Constructors
- 14.9 Wildcard Capture
- 14.10 Flexibility with Wildcard Parameterized Types
- 14.11 Type Erasure
- 14.12 Implications for Overloading and Overriding
- 14.13 Limitations and Restrictions on Generic Types
- Review Questions
- Chapter Summary
- Programming Exercises
- 15 Collections and Maps
- 15.1 Comparing Objects
- Review Questions
- 15.2 The Java Collections Framework
- 15.3 Collections
- Review Questions
- 15.4 Sets
- 15.5 The SortedSet<E> and NavigableSet<E> Interfaces
- 15.6 Lists
- 15.7 Queues
- Review Questions
- 15.8 Maps
- 15.9 Map Implementations
- 15.10 The SortedMap<K,V> and NavigableMap<K,V> Interfaces
- Review Questions
- 15.11 Working with Collections
- Review Questions
- Chapter Summary
- Programming Exercises
- A: Taking the SCJP 1.6 Exam
- B: Objectives for the SCJP 1.6 Exam
- C: Objectives for the SCJP 1.6 Upgrade Exam
- D: Annotated Answers to Review Questions
- E: Solutions to Programming Exercises
- F: Mock Exam
- G: Number Systems and Number Representation
- Index