Part I:

OCP Java SE 21 Developer

(Exam 1Z0-830)

Book Cover

Part I: Contents

Part I: Figures
Part I: Tables
Part I: Examples
Foreword
Preface to OCP Java SE 21 Developer (Exam 1Z0-830)
1Pattern Matching for Java
1.1Type Pattern Matching with the instanceof Pattern Match Operator
1.2Type Pattern Matching with the Enhanced switch Construct
1.3Record Patterns
1.4Record Pattern Matching with the instanceof Pattern Match Operator
1.5Record Pattern Matching with the Enhanced switch Construct
1.6Summary of Java Patterns
1.7Using Qualified Name for Enum Constants in the switch Construct
1.8Unexpected Failure in Pattern Matching
2Sequenced Collections and
2.1Collections with Well-Defined Encounter Order
2.2Sequenced Collections
2.3Sequenced Lists
2.4Sequenced Sets
2.5Deques
2.6Sequenced Maps
2.7Unmodifiable Sequenced Collections, Sets, and Maps
2.8Sequenced Concurrent Collections
2.9Sequenced Concurrent Maps
3Virtual Threads
3.1Motivation for Virtual Threads
3.2Virtual Thread Execution Model
3.3Using Thread Class to Create Virtual Threads
3.4Using Thread Builders to Create Virtual Threads
3.5Using Thread Factory to Create Threads
3.6Using Thread Executor Services
3.7Scalability of Throughput with Virtual Threads
3.8Best Practices for Using Virtual Threads
AExam Topics: Java SE 21 Developer Professional
BAnnotated Answers to Review Questions
CMiscellaneous API Updates
C.1The String and StringBuilder Classes
C.2Constructing Locales
Part I: Index

Khalid A. Mughal   •   Vasily A. Strelnikov