Читать книгу OCP Oracle Certified Professional Java SE 17 Developer Study Guide - Jeanne Boyarsky - Страница 53
Java SE 17 Developer (1Z0-829)
ОглавлениеThe following table provides a breakdown of this book's exam coverage for the Java SE 17 Developer (1Z0-829) exam, showing you the chapter where each objective or subobjective is covered.
Exam Objective | Chapter |
---|---|
Handling date, time, text, numeric and boolean values | |
Use primitives and wrapper classes including Math API, parentheses, type promotion, and casting to evaluate arithmetic and boolean expressions | 1, 2, 4 |
Manipulate text, including text blocks, using String and StringBuilder classes | 4 |
Manipulate date, time, duration, period, instant and time-zone objects using Date-Time API | 4 |
Controlling Program Flow | |
Create program flow control constructs including if/else, switch statements and expressions, loops, and break and continue statements | 3 |
Utilizing Java Object-Oriented Approach | |
Declare and instantiate Java objects including nested class objects, and explain the object life-cycle including creation, reassigning references, and garbage collection | 1, 7 |
Create classes and records, and define and use instance and static fields and methods, constructors, and instance and static initializers | 5, 6, 7 |
Implement overloading, including var-arg methods | 5 |
Understand variable scopes, use local variable type inference, apply encapsulation, and make objects immutable | 1, 6, 7, 8 |
Implement polymorphism and differentiate object type versus reference type. Perform type casting, identify object types using instanceof operator and pattern matching | 3, 6, 7 |
Create and use interfaces, identify functional interfaces, and utilize private, static, and default interface methods | 7, 8 |
Create and use enumerations with fields, methods and constructors | 7 |
Handling Exceptions | |
Handle exceptions using try/catch/finally, try-with-resources, and multi-catch blocks, including custom exceptions | 11 |
Working with Arrays and Collections | |
Create Java arrays, List, Set, Map, and Deque collections, and add, remove, update, retrieve and sort their elements | 4, 9 |
Working with Streams and Lambda expressions | |
Use Java object and primitive Streams, including lambda expressions implementing functional interfaces, to supply, filter, map, consume, and sort data | 10 |
Perform decomposition, concatenation and reduction, and grouping and partitioning on sequential and parallel streams | 10, 13 |
Packaging and deploying Java code and use the Java Platform Module System | |
Define modules and their dependencies, expose module content including for reflection. Define services, producers, and consumers | 12 |
Compile Java code, produce modular and non-modular jars, runtime images, and implement migration using unnamed and automatic modules | 12 |
Managing concurrent code execution | |
Create worker threads using Runnable and Callable, manage the thread lifecycle, including automations provided by different Executor services and concurrent API | 13 |
Develop thread-safe code, using different locking mechanisms and concurrent API | 13 |
Process Java collections concurrently including the use of parallel streams | 13 |
Using Java I/O API | |
Read and write console and file data using I/O Streams | 14 |
Serialize and de-serialize Java objects | 14 |
Create, traverse, read, and write Path objects and their properties using java.nio.file API | 14 |
Accessing databases using JDBC | |
Create connections, create and execute basic, prepared and callable statements, process query results and control transactions using JDBC API | 15 |
Implementing Localization | |
Implement localization using locales, resource bundles, parse and format messages, dates, times, and numbers including currency and percentage values | 11 |