Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition

Book description

A new edition of this title is available, ISBN-10: 0321556054 ISBN-13: 9780321556059

Table of contents

  1. Copyright
  2. List of Figures
  3. List of Tables
  4. List of Examples
  5. Foreword
  6. Preface
  7. Basics of Java Programming
    1. Introduction
    2. Classes
    3. Objects
    4. Instance Members
    5. Static Members
    6. Inheritance
    7. Aggregation
    8. Tenets of Java
    9. Review Questions
    10. Java Programs
    11. Sample Java Application
    12. Review Questions
    13. Chapter Summary
    14. Programming Exercises
  8. Language Fundamentals
    1. Basic Language Elements
    2. Review Questions
    3. Primitive Data Types
    4. Review Questions
    5. Variable Declarations
    6. Initial Values for Variables
    7. Review Questions
    8. Java Source File Structure
    9. Review Questions
    10. The main() Method
    11. Review Questions
    12. Chapter Summary
    13. Programming Exercises
  9. Operators and Assignments
    1. Precedence and Associativity Rules for Operators
    2. Evaluation Order of Operands
    3. Conversions
    4. Simple Assignment Operator =
    5. Review Questions
    6. Arithmetic Operators: *, /, %, +, -
    7. Review Questions
    8. The Binary String Concatenation Operator +
    9. Variable Increment and Decrement Operators: ++, --
    10. Review Questions
    11. Boolean Expressions
    12. Relational Operators: <, <=, >, >=
    13. Equality
    14. Boolean Logical Operators: !, ^, &, |
    15. Conditional Operators: &&, ||
    16. Review Questions
    17. Integer Bitwise Operators: ~, &, |, ^
    18. Shift Operators: <<, >>, >>>
    19. The Conditional Operator: ?
    20. Other Operators: new, [], instanceof
    21. Review Questions
    22. Parameter Passing
    23. Passing Primitive Data Values
    24. Passing Object Reference Values
    25. Passing Array References
    26. Array Elements as Actual Parameters
    27. final Parameters
    28. Program Arguments
    29. Review Questions
    30. Chapter Summary
    31. Programming Exercises
  10. Declarations and Access Control
    1. Arrays
    2. Review Questions
    3. Defining Classes
    4. Defining Methods
    5. Constructors
    6. Scope Rules
    7. Review Questions
    8. Packages
    9. Accessibility Modifiers for Top-level Classes and Interfaces
    10. Other Modifiers for Classes
    11. Review Questions
    12. Member Accessibility Modifiers
    13. Review Questions
    14. Other Modifiers for Members
    15. Review Questions
    16. Chapter Summary
    17. Programming Exercises
  11. Control Flow, Exception Handling, and Assertions
    1. Overview of Control Flow Statements
    2. Selection Statements
    3. Review Questions
    4. Iteration Statements
    5. Transfer Statements
    6. Review Questions
    7. Stack-based Execution and Exception Propagation
    8. Exception Types
    9. Exception Handling: try, catch, and finally
    10. throw Statement
    11. throws Clause
    12. Review Questions
    13. Assertions
    14. Review Questions
    15. Chapter Summary
    16. Programming Exercises
  12. Object-oriented Programming
    1. Single Implementation Inheritance
    2. Review Questions
    3. Overriding and Hiding Members
    4. Review Questions
    5. Chaining Constructors Using this() and super()
    6. Review Questions
    7. Interfaces
    8. Review Questions
    9. Completing the Type Hierarchy
    10. Assigning, Passing, and Casting Reference Values
    11. Review Questions
    12. Polymorphism and Dynamic Method Lookup
    13. Review Questions
    14. Inheritance vs. Aggregation
    15. Review Questions
    16. Chapter Summary
    17. Programming Exercises
  13. Nested Classes And Interfaces
    1. Overview of Nested Classes and Interfaces
    2. Static Member Classes and Interfaces
    3. Non-static Member Classes
    4. Review Questions
    5. Local Classes
    6. Anonymous Classes
    7. Review Questions
    8. Chapter Summary
    9. Programming Exercise
  14. Object Lifetime
    1. Garbage Collection
    2. Review Questions
    3. Initializers
    4. Review Questions
    5. Chapter Summary
  15. Threads
    1. Multitasking
    2. Overview of Threads
    3. Thread Creation
    4. Review Questions
    5. Synchronization
    6. Review Questions
    7. Thread Transitions
    8. Review Questions
    9. Chapter Summary
    10. Programming Exercises
  16. Fundamental Classes
    1. Overview of the java.lang Package
    2. The Object Class
    3. Review Questions
    4. The Wrapper Classes
    5. Review Questions
    6. The Math Class
    7. Review Questions
    8. The String Class
    9. Review Questions
    10. The StringBuffer Class
    11. Review Questions
    12. Chapter Summary
    13. Programming Exercises
  17. Collections and Maps
    1. The Collections Framework
    2. Collections
    3. Review Questions
    4. Sets
    5. Lists
    6. Review Questions
    7. Maps
    8. Sorted Sets and Sorted Maps
    9. Review Questions
    10. Implementing the equals(), hashCode(), and compareTo() Methods
    11. Working with Collections
    12. Review Questions
    13. Chapter Summary
    14. Programming Exercises
  18. Taking the SCPJ2 1.4 Exam
    1. Preparing for the Programmer Exam
    2. Registering for the Exam
    3. How the Examination Is Conducted
    4. The Questions
    5. Moving on to the Developer Exam
  19. Objectives for the SCPJ2 1.4 Exam
    1. Section 1: Declarations and Access Control (Chapter 4)
    2. Section 2: Flow Control, Assertions, and Exception Handling (Chapter 5)
    3. Section 3: Garbage Collection (Chapter 8)
    4. Section 4: Language Fundamentals (Chapter 2)
    5. Section 5: Operators and Assignments (Chapter 3)
    6. Section 6: Overloading, Overriding, Runtime Type and Object Orientation (Chapter 6, Chapter 11)
    7. Section 7: Threads (Chapter 9)
    8. Section 8: Fundamental Classes in the java.lang Package (Chapter 10)
    9. Section 9: The Collections Framework (Chapter 11)
  20. Objectives for the Java 2 Platform Upgrade Exam
    1. Section 1: Declarations and Access Control
    2. Section 2: Flow Control, Assertions, and Exception Handling
    3. Section 3: Garbage Collection
    4. Section 4: Language Fundamentals
    5. Section 5: Operators and Assignments
    6. Section 6: Overloading, Overriding, Runtime Type and Object Orientation
    7. Section 7: Threads
    8. Section 8: The Collections Framework
  21. Annotated Answers to Review Questions
    1. Basics of Java Programming
    2. Language Fundamentals
    3. Operators and Assignments
    4. Declarations and Access Control
    5. Control Flow, Exception Handling, and Assertions
    6. Object-oriented Programming
    7. Nested Classes and Interfaces
    8. Object Lifetime
    9. Threads
    10. Fundamental Classes
    11. Collections and Maps
  22. Solutions to Programming Exercises
    1. Basics of Java Programming
    2. Language Fundamentals
    3. Operators and Assignments
    4. Declarations and Access Control
    5. Control Flow, Exception Handling, and Assertions
    6. Object-oriented Programming
    7. Nested Classes and Interfaces
    8. Basics of Java Programming
    9. Threads
    10. Fundamental Classes
    11. Collections and Maps
  23. Mock Exam
    1. Answers to Questions
  24. Number Systems and Number Representation
    1. Number Systems
    2. Relationship between Binary, Octal, and Hexadecimal Numbers
    3. Converting Decimals
    4. Representing Integers
  25. About the CD
    1. Whizlabs Exam Simulators
    2. Items from the Book
  26. Single-User License Agreement
    1. Important Terms of Agreement
    2. Tenure of the License Agreement
    3. Limited Warranty Under the License
    4. Remedies Provided Under the License
    5. Liabilities Under the License
    6. Other Limitations Under the License
    7. General Note
  27. Index

Product information

  • Title: Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition
  • Author(s): Khalid A. Mughal, Rolf W. Rasmussen
  • Release date: August 2003
  • Publisher(s): Addison-Wesley Professional
  • ISBN: 9780201728286