OCP Oracle Certified Professional Java SE 11 Developer Complete Study Guide

Book description

None

Table of contents

  1. Cover
  2. Acknowledgments
  3. About the Authors
  4. Introduction
    1. Understanding the Exam
    2. Reading This Book
    3. Preparing for the Exam
    4. Taking the Exam
    5. Objective Map
  5. Assessment Tests
  6. PART I: Exam 1Z0‐815, OCP Java SE 11 Programmer I
    1. Chapter 1: Welcome to Java
      1. Learning About the Java Environment
      2. Identifying Benefits of Java
      3. Understanding the Java Class Structure
      4. Writing a main() Method
      5. Understanding Package Declarations and Imports
      6. Ordering Elements in a Class
      7. Code Formatting on the Exam
      8. Summary
      9. Exam Essentials
      10. Review Questions
    2. Chapter 2: Java Building Blocks
      1. Creating Objects
      2. Understanding Data Types
      3. Declaring Variables
      4. Initializing Variables
      5. Managing Variable Scope
      6. Destroying Objects
      7. Summary
      8. Exam Essentials
      9. Review Questions
    3. Chapter 3: 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
    4. Chapter 4: Making Decisions
      1. Creating Decision-Making Statements
      2. Writing while Loops
      3. Constructing for Loops
      4. Controlling Flow with Branching
      5. Summary
      6. Exam Essentials
      7. Review Questions
    5. Chapter 5: Core Java APIs
      1. Creating and Manipulating Strings
      2. Using the StringBuilder Class
      3. Understanding Equality
      4. Understanding Java Arrays
      5. Understanding an ArrayList
      6. Creating Sets and Maps
      7. Calculating with Math APIs
      8. Summary
      9. Exam Essentials
      10. Review Questions
    6. Chapter 6: Lambdas and Functional Interfaces
      1. Writing Simple Lambdas
      2. Introducing Functional Interfaces
      3. Working with Variables in Lambdas
      4. Calling APIs with Lambdas
      5. Summary
      6. Exam Essentials
      7. Review Questions
    7. Chapter 7: Methods and Encapsulation
      1. Designing Methods
      2. Working with Varargs
      3. Applying Access Modifiers
      4. Applying the static Keyword
      5. Passing Data among Methods
      6. Overloading Methods
      7. Encapsulating Data
      8. Summary
      9. Exam Essentials
      10. Review Questions
    8. Chapter 8: Class Design
      1. Understanding Inheritance
      2. Creating Classes
      3. Declaring Constructors
      4. Inheriting Members
      5. Understanding Polymorphism
      6. Summary
      7. Exam Essentials
      8. Review Questions
    9. Chapter 9: Advanced Class Design
      1. Creating Abstract Classes
      2. Implementing Interfaces
      3. Introducing Inner Classes
      4. Summary
      5. Exam Essentials
      6. Review Questions
    10. Chapter 10: Exceptions
      1. Understanding Exceptions
      2. Recognizing Exception Classes
      3. Handling Exceptions
      4. Calling Methods That Throw Exceptions
      5. Summary
      6. Exam Essentials
      7. Review Questions
    11. Chapter 11: Modules
      1. Introducing Modules
      2. Creating and Running a Modular Program
      3. Updating Our Example for Multiple Modules
      4. Diving into the module-info File
      5. Discovering Modules
      6. Reviewing Command-Line Options
      7. Summary
      8. Exam Essentials
      9. Review Questions
  7. PART II: Exam 1Z0‐816, OCP Java SE 11 Programmer II Exam 1Z0‐817, Upgrade OCP Java SE 11
    1. Chapter 12: Java Fundamentals
      1. Applying the final Modifier
      2. Working with Enums
      3. Creating Nested Classes
      4. Understanding Interface Members
      5. Introducing Functional Programming
      6. Summary
      7. Exam Essentials
      8. Review Questions
    2. Chapter 13: Annotations
      1. Introducing Annotations
      2. Creating Custom Annotations
      3. Applying Annotations
      4. Declaring Annotation‐Specific Annotations
      5. Using Common Annotations
      6. Summary
      7. Exam Essentials
      8. Review Questions
    3. Chapter 14: Generics and Collections
      1. Using Method References
      2. Using Wrapper Classes
      3. Using the Diamond Operator
      4. Using Lists, Sets, Maps, and Queues
      5. Sorting Data
      6. Working with Generics
      7. Summary
      8. Exam Essentials
      9. Review Questions
    4. Chapter 15: Functional Programming
      1. Working with Built‐in Functional Interfaces
      2. Returning an Optional
      3. Using Streams
      4. Working with Primitive Streams
      5. Working with Advanced Stream Pipeline Concepts
      6. Summary
      7. Exam Essentials
      8. Review Questions
    5. Chapter 16: Exceptions, Assertions, and Localization
      1. Reviewing Exceptions
      2. Creating Custom Exceptions
      3. Automating Resource Management
      4. Declaring Assertions
      5. Working with Dates and Times
      6. Supporting Internationalization and Localization
      7. Loading Properties with Resource Bundles
      8. Summary
      9. Exam Essentials
      10. Review Questions
    6. Chapter 17: Modular Applications
      1. Reviewing Module Directives
      2. Comparing Types of Modules
      3. Analyzing JDK Dependencies
      4. Migrating an Application
      5. Creating a Service
      6. Summary
      7. Exam Essentials
      8. Review Questions
    7. Chapter 18: 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
    8. Chapter 19: I/O
      1. Understanding Files and Directories
      2. Introducing I/O Streams
      3. Common I/O Stream Operations
      4. Working with I/O Stream Classes
      5. Interacting with Users
      6. Summary
      7. Exam Essentials
      8. Review Questions
    9. Chapter 20: NIO.2
      1. Introducing NIO.2
      2. Interacting with Paths
      3. Operating on Files and Directories
      4. Managing File Attributes
      5. Applying Functional Programming
      6. Comparing Legacy java.io.File and NIO.2 Methods
      7. Summary
      8. Exam Essentials
      9. Review Questions
    10. Chapter 21: 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. Closing Database Resources
      8. Summary
      9. Exam Essentials
      10. Review Questions
    11. Chapter 22: Security
      1. Designing a Secure Object
      2. Introducing Injection and Input Validation
      3. Working with Confidential Information
      4. Serializing and Deserializing Objects
      5. Constructing Sensitive Objects
      6. Preventing Denial of Service Attacks
      7. Summary
      8. Exam Essentials
      9. Review Questions
  8. Appendix: Answers to Review Questions
    1. Chapter 1: Welcome to Java
    2. Chapter 2: Java Building Blocks
    3. Chapter 3: Operators
    4. Chapter 4: Making Decisions
    5. Chapter 5: Core Java APIs
    6. Chapter 6: Lambdas and Functional Interfaces
    7. Chapter 7: Methods and Encapsulation
    8. Chapter 8: Class Design
    9. Chapter 9: Advanced Class Design
    10. Chapter 10: Exceptions
    11. Chapter 11: Modules
    12. Chapter 12: Java Fundamentals
    13. Chapter 13: Annotations
    14. Chapter 14: Generics and Collections
    15. Chapter 15: Functional Programming
    16. Chapter 16: Exceptions, Assertions, and Localization
    17. Chapter 17: Modular Applications
    18. Chapter 18: Concurrency
    19. Chapter 19: I/O
    20. Chapter 20: NIO.2
    21. Chapter 21: JDBC
    22. Chapter 22: Security
  9. Index
  10. Online Test Bank
    1. Register and Access the Online Test Bank
  11. End User License Agreement

Product information

  • Title: OCP Oracle Certified Professional Java SE 11 Developer Complete Study Guide
  • Author(s):
  • Release date:
  • Publisher(s): Sybex
  • ISBN: None