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