SCJP: Sun Certified Programmer for Java® Platform, SE6, Study Guide

Book description

Sun's foundation-level Sun Certified Java Programmer (SCJP) for Standard Edition 6 is a must-have for any Java programmer, and is a prerequisite for Sun's specialty certifications. This resource is essential preparation for the SCJP and focuses heavily on the skill set that Sun expects its SCJPs to have, with numerous examples, exercises, and real-world scenarios to give readers the tools needed to use what they learn. The material covers declarations, initialization, and scoping; flow control; API contents; concurrency; object-oriented concepts; collections/generics; and fundamentals. The interactive CD-ROM features chapter review questions, two bonus exams, a series of flashcards that can be used on PCs or handheld devices, and an e-book.

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

Table of contents

  1. Cover Page
  2. Title Page
  3. Copyright
  4. Dear Reader,
  5. Dedication
  6. Acknowledgments
  7. About the Author
  8. Contents at a Glance
  9. Contents
  10. Introduction
    1. Is This Book for You?
  11. Assessment Test
    1. Answers to Assessment Test
  12. Chapter 1: Fundamentals
    1. Writing Java Classes
    2. Packages
    3. Running Java Applications
    4. Reference vs. Primitive Types
    5. Garbage Collection
    6. Call by Value
    7. Java Operators
    8. The Assignment Operators
    9. Equality of Objects
    10. Summary
    11. Exam Essentials
    12. Review Questions
    13. Answers to Review Questions
  13. Chapter 2: Declarations, Initialization, and
    1. Declaring Variables
    2. Scoping
    3. Declaring Arrays
    4. Declaring Classes
    5. The Instantiation Process
    6. Declaring Methods
    7. Declaring Abstract Classes
    8. Declaring Interfaces
    9. Declaring Enumerations
    10. Declaring Nested Classes
    11. Summary
    12. Exam Essentials
    13. Review Questions
    14. Answers to Review Questions
  14. Chapter 3: Flow Control
    1. Overview of Flow Control
    2. The if Statement
    3. The switch Statement
    4. The for Statement
    5. The while Statement
    6. The do Statement
    7. The break Statement
    8. The continue Statement
    9. Overview of Assertions
    10. Overview of Exceptions
    11. Java API Exceptions and Errors
    12. Summary
    13. Exam Essentials
    14. Review Questions
    15. Answers to Review Questions
  15. Chapter 4: API Contents
    1. The Primitive Wrapper Classes
    2. Autoboxing and Unboxing
    3. Strings
    4. Input and Output
    5. File Input and Output
    6. Object Serialization
    7. Formatting and Parsing Data
    8. Regular Expressions
    9. Summary
    10. Exam Essentials
    11. Review Questions
    12. Answers to Review Questions
  16. Chapter 5: Concurrency
    1. Overview of Threads
    2. Writing a Thread
    3. Extending the Thread Class
    4. Thread States
    5. Thread Synchronization
    6. The wait, notify, and notifyAll Methods
    7. Summary
    8. Exam Essentials
    9. Review Questions
    10. Answers to Review Questions
  17. Chapter 6: Object-Oriented Concepts
    1. Encapsulation, Coupling, and Cohesion
    2. OO Design Relationships
    3. Modifiers and Inheritance
    4. Polymorphism
    5. Summary
    6. Exam Essentials
    7. Review Questions
    8. Answers to Review Questions
  18. Chapter 7: Collections and Generics
    1. Overview of Collections
    2. Using Generics
    3. Generic Types and Methods
    4. Working with Lists
    5. Working with Arrays
    6. Summary
    7. Exam Essentials
    8. Review Questions
    9. Answers to Review Questions
  19. Appendix: About the Companion CD
    1. What You'll Find on the CD
    2. System Requirements
    3. Using the CD
    4. Troubleshooting
  20. Glossary
  21. Index

Product information

  • Title: SCJP: Sun Certified Programmer for Java® Platform, SE6, Study Guide
  • Author(s): Richard F. Raposa
  • Release date: March 2009
  • Publisher(s): Sybex
  • ISBN: 9780470417973