You are previewing Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805: A Comprehensive OCPJP 7 Certification Guide.
O'Reilly logo
Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805: A Comprehensive OCPJP 7 Certification Guide

Book Description

Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805 is a concise, comprehensive, step-by-step, and one-stop guide for the Oracle Certified Professional Java SE 7 Programmer Exam. The first two chapters set the stage for exam preparation and let the reader get started quickly. The first chapter answers frequently asked questions about the OCPJP exam.

This book assumes that the reader is already familiar with Java fundamentals which is in line with the prerequisite of having a OCAJP certification.

The book sports considerable supportive material to help the reader in effective exam preparation in the form of appendices:

  • 2 mock tests to give the reader a sense of a real-exam.

  • An instant refresher summarizing the most important concepts (with tips on answering questions) to revise just before the exam.

This book will be a delectable read for any OCPJP aspirant because of its simple language, example driven approach, and easy-to-read style. Further, given its 100% focus on the exam and helpful supportive material, this book is clearly an attractive buy to OCPJP aspirants worldwide.

What you'll learn

  • In-depth coverage of all 13 exam topics for the certification.

  • The book covers programming concepts succinctly with numerous illustrative programming and real-world examples. These examples will help the reader quickly internalize the discussed concepts.

  • The reader will clearly understand the scope and objectives of the exam, the technical topics covered in the exam, and type and level-of-difficulty of the exam questions. With this, the reader will clearly know what's exactly required for passing the exam.

  • Review questions tune the reader to an "exam mindset". By making mistakes and reading the detailed explanations for the answers, the reader will be better prepared for getting certified. Attempting the practice questions and mock test will help the reader gain necessary confidence to clear the exam.

Who this book is for

This book is targeted primarily at students and programmers who want to crack the OCPJP exam. Trainers and teachers can use this book as training material for OCPJP exam preparation.

This book is also useful to readers who want to refresh their knowledge in Java programming or gain better understanding on using various Java APIs.

Table of Contents

  1. Title Page
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Authors
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
  9. CHAPTER 1: The OCPJP 7 Exam: FAQ
    1. Oracle Java Certifications: Overview
    2. The OCPJP 7 Exam
    3. Taking the OCPJP 7 Exam
  10. CHAPTER 2: Pretest
    1. The OCPJP 7 Exam: Pretest
    2. Answers with Explanations
    3. Post-Pretest Evaluation
  11. CHAPTER 3: Java Class Design
    1. Essentials of OOP
    2. Class Fundamentals
    3. Overloading
    4. Inheritance
    5. Java Packages
    6. Summary
  12. CHAPTER 4: Advanced Class Design
    1. Abstract Classes
    2. Using the “final” Keyword
    3. Using the “static” Keyword
    4. Flavors of Nested Classes
    5. Enum Data Types
    6. Summary
  13. CHAPTER 5: Object-Oriented Design Principles
    1. Interfaces
    2. Object Composition
    3. Design Patterns
    4. Summary
  14. CHAPTER 6: Generics and Collections
    1. Generics
    2. The Collections Framework
    3. Summary
  15. CHAPTER 7: String Processing
    1. Processing Strings
    2. Regular Expressions
    3. String Formatting
    4. Summary
  16. CHAPTER 8: Java I/O Fundamentals
    1. Reading and Writing from Console
    2. Using Streams to Read and Write Files
    3. Points to Remember
    4. Summary
  17. CHAPTER 9: Java File I/O (NIO.2)
    1. A Quick History of I/O APIs
    2. Using the Path Interface
    3. Using the Files Class
    4. Walking a File Tree
    5. Finding a File
    6. Watching a Directory for Changes
    7. Points to Remember
    8. Summary
  18. CHAPTER 10: Building Database Applications with JDBC
    1. Introduction to JDBC
    2. Connecting to a Database Using a JDBC Driver
    3. Querying and Updating the Database
    4. Performing Transactions
    5. Summary
  19. CHAPTER 11: Exceptions and Assertions
    1. Introduction to Exception Handling
    2. Try-with-Resources
    3. Exception Types
    4. Custom Exceptions
    5. Assertions
    6. Summary
  20. CHAPTER 12: Localization
    1. Introduction
    2. Locales
    3. Resource Bundles
    4. Loading a Resource Bundle
    5. Formatting for Local Culture
    6. Points to Remember
    7. Summary
  21. CHAPTER 13: Threads
    1. Introduction to Concurrent Programming
    2. The States of a Thread
    3. Concurrent Access Problems
    4. Summary
  22. CHAPTER 14: Concurrency
    1. Using java.util.concurrent Collections
    2. Apply Atomic Variables and Locks
    3. Use Executors and ThreadPools
    4. Use the Parallel Fork/Join Framework
    5. Points to Remember
    6. Summary
  23. CHAPTER 15: OCPJP 7 Quick Refresher
    1. Chapter 3: Java Class Design
    2. Chapter 4: Advanced Class Design
    3. Chapter 5: Object-Oriented Design Principles
    4. Chapter 6: Generics and Collections
    5. Chapter 7: String Processing
    6. Chapter 8: Java I/O Fundamentals
    7. Chapter 9: Java File I/O (NIO.2)
    8. Chapter 10: Building Database Applications with JDBC
    9. Chapter 11: Exceptions and Assertions
    10. Chapter 12: Localization
    11. Chapter 13: Threads
    12. Chapter 14: Concurrency
  24. APPENDIX A: Exam Topics
    1. OCPJP7 Exam (1Z0-804 a.k.a. Java SE 7 Programmer II) Topics
    2. OCPJP 7 Exam (1Z0-805, a.k.a. Upgrade to Java SE 7 Programmer) Topics
  25. APPENDIX B: Mock Test – 1
    1. Answer Sheet
    2. Answers and Explanations
  26. APPENDIX C: Mock Test – 2
    1. Answer Sheet
    2. Answers and Explanations
  27. Index