OCP Oracle Certified Professional Java SE 17 Developer Study Guide

Book description

An effective and practical study aid to the new OCP Java SE 17 Developer certification exam

In the OCP Oracle Certified Professional Java SE 17 Developer Study Guide: Exam 1Z0-829, you'll find accessible and essential test prep material for the in-demand and practical OCP Java SE 17 Developer certification. Providing comprehensive coverage of all OCP Java SE 17 exam objectives and competencies, the Study Guide offers you access to all the skills and knowledge you'll need to succeed on the test and in the field as a new or experienced Java developer.

This book provides material on records, sealed classes, text blocks, dates, streams, controlling program flow, using the Java object-oriented approach, handling exceptions, working with arrays and collections, and more. You'll also get:

  • Intuitively organized information that aligns with the competencies tested on the exam and those required by real-world Java developers
  • Opportunities to practice and develop skills that remain in high demand in the IT industry
  • Access to the Sybex online learning center, with chapter review questions, full-length practice exams, hundreds of electronic flashcards, and a glossary of key terms

Perfect for anyone prepping for the brand-new OCP Java SE 17 credential, OCP Oracle Certified Professional Java SE 17 Developer Study Guide: Exam 1Z0-829 is also a can't-miss reference for practicing and aspiring Java developers seeking to learn or reinforce their foundational skills in Java programming and improve their performance on the job.

Table of contents

  1. Cover
  2. Title Page
  3. Copyright
  4. Dedication
  5. Acknowledgments
  6. About the Authors
  7. About the Technical Editor
    1. About the Technical Proofreader
  8. Introduction
    1. Understanding the Exam
    2. Reading This Book
    3. Studying for the Exam
    4. Applying Test-Taking Strategies
    5. Taking the Exam
    6. Objective Map
    7. Assessment Test
  9. Chapter 1: Building Blocks
    1. Learning about the Environment
    2. Understanding the Class Structure
    3. Writing a main() Method
    4. Understanding Package Declarations and Imports
    5. Creating Objects
    6. Understanding Data Types
    7. Declaring Variables
    8. Initializing Variables
    9. Managing Variable Scope
    10. Destroying Objects
    11. Summary
    12. Exam Essentials
    13. Review Questions
  10. Chapter 2: Operators
    1. Understanding Java Operators
    2. Applying Unary Operators
    3. Working with Binary Arithmetic Operators
    4. Assigning Values
    5. Comparing Values
    6. Making Decisions with the Ternary Operator
    7. Summary
    8. Exam Essentials
    9. Review Questions
  11. Chapter 3: Making Decisions
    1. Creating Decision-Making Statements
    2. Applying switch Statements
    3. Writing while Loops
    4. Constructing for Loops
    5. Controlling Flow with Branching
    6. Summary
    7. Exam Essentials
    8. Review Questions
  12. Chapter 4: Core APIs
    1. Creating and Manipulating Strings
    2. Using the StringBuilder Class
    3. Understanding Equality
    4. Understanding Arrays
    5. Calculating with Math APIs
    6. Working with Dates and Times
    7. Summary
    8. Exam Essentials
    9. Review Questions
  13. Chapter 5: Methods
    1. Designing Methods
    2. Declaring Local and Instance Variables
    3. Working with Varargs
    4. Applying Access Modifiers
    5. Accessing static Data
    6. Passing Data among Methods
    7. Overloading Methods
    8. Summary
    9. Exam Essentials
    10. Review Questions
  14. Chapter 6: Class Design
    1. Understanding Inheritance
    2. Creating Classes
    3. Declaring Constructors
    4. Initializing Objects
    5. Inheriting Members
    6. Creating Abstract Classes
    7. Creating Immutable Objects
    8. Summary
    9. Exam Essentials
    10. Review Questions
  15. Chapter 7: Beyond Classes
    1. Implementing Interfaces
    2. Working with Enums
    3. Sealing Classes
    4. Encapsulating Data with Records
    5. Creating Nested Classes
    6. Understanding Polymorphism
    7. Summary
    8. Exam Essentials
    9. Review Questions
  16. Chapter 8: Lambdas and Functional Interfaces
    1. Writing Simple Lambdas
    2. Coding Functional Interfaces
    3. Using Method References
    4. Working with Built-in Functional Interfaces
    5. Working with Variables in Lambdas
    6. Summary
    7. Exam Essentials
    8. Review Questions
  17. Chapter 9: Collections and Generics
    1. Using Common Collection APIs
    2. Using the List Interface
    3. Using the Set Interface
    4. Using the Queue and Deque Interfaces
    5. Using the Map Interface
    6. Comparing Collection Types
    7. Sorting Data
    8. Working with Generics
    9. Summary
    10. Exam Essentials
    11. Review Questions
  18. Chapter 10: Streams
    1. Returning an Optional
    2. Using Streams
    3. Working with Primitive Streams
    4. Working with Advanced Stream Pipeline Concepts
    5. Summary
    6. Exam Essentials
    7. Review Questions
  19. Chapter 11: Exceptions and Localization
    1. Understanding Exceptions
    2. Recognizing Exception Classes
    3. Handling Exceptions
    4. Automating Resource Management
    5. Formatting Values
    6. Supporting Internationalization and Localization
    7. Loading Properties with Resource Bundles
    8. Summary
    9. Exam Essentials
    10. Review Questions
  20. Chapter 12: Modules
    1. Introducing Modules
    2. Creating and Running a Modular Program
    3. Updating Our Example for Multiple Modules
    4. Diving into the Module Declaration
    5. Creating a Service
    6. Discovering Modules
    7. Comparing Types of Modules
    8. Migrating an Application
    9. Summary
    10. Exam Essentials
    11. Review Questions
  21. Chapter 13: Concurrency
    1. Introducing Threads
    2. Creating Threads with the Concurrency API
    3. Writing Thread-Safe Code
    4. Using Concurrent Collections
    5. Identifying Threading Problems
    6. Working with Parallel Streams
    7. Summary
    8. Exam Essentials
    9. Review Questions
  22. Chapter 14: I/O
    1. Referencing Files and Directories
    2. Operating on File and Path
    3. Introducing I/O Streams
    4. Reading and Writing Files
    5. Serializing Data
    6. Interacting with Users
    7. Working with Advanced APIs
    8. Review of Key APIs
    9. Summary
    10. Exam Essentials
    11. Review Questions
  23. Chapter 15: JDBC
    1. Introducing Relational Databases and SQL
    2. Introducing the Interfaces of JDBC
    3. Connecting to a Database
    4. Working with a PreparedStatement
    5. Getting Data from a ResultSet
    6. Calling a CallableStatement
    7. Controlling Data with Transactions
    8. Closing Database Resources
    9. Summary
    10. Exam Essentials
    11. Review Questions
  24. Appendix: Answers to the Review Questions
    1. Chapter 1: Building Blocks
    2. Chapter 2: Operators
    3. Chapter 3: Making Decisions
    4. Chapter 4: Core APIs
    5. Chapter 5: Methods
    6. Chapter 6: Class Design
    7. Chapter 7: Beyond Classes
    8. Chapter 8: Lambdas and Functional Interfaces
    9. Chapter 9: Collections and Generics
    10. Chapter 10: Streams
    11. Chapter 11: Exceptions and Localization
    12. Chapter 12: Modules
    13. Chapter 13: Concurrency
    14. Chapter 14: I/O
    15. Chapter 15: JDBC
  25. Index
  26. End User License Agreement

Product information

  • Title: OCP Oracle Certified Professional Java SE 17 Developer Study Guide
  • Author(s): Scott Selikoff, Jeanne Boyarsky
  • Release date: May 2022
  • Publisher(s): Sybex
  • ISBN: 9781119864585