Oracle Java SE 21 Developer Professional Study Guide (1Z0-830)

Oracle Java SE 21 Developer Professional Study Guide (1Z0-830)

Oracle Java SE 21 Developer Professional Preparation Details

The Oracle Java SE 21 Developer Professional (1Z0-830) exam tests your command of modern Java. This study guide links official Oracle documentation to every exam objective. You can also explore more Oracle certification study guides on the Oracle certification page to keep building your skills.

Oracle Java SE 21 Developer Professional Materials

CourseraOCP Java SE 21 Certification Preparation
UdemyJava SE 21 Developer | Oracle Certified Professional
WhizlabsJava SE 21 Developer Professional (Java SE 21)

Handling Date, Time, Text, Numeric and Boolean Values

Use primitives and wrapper classes. Evaluate arithmetic and boolean expressions, using the Math API and by applying precedence rules, type conversions, and casting.

Primitive Data Types

Autoboxing and Unboxing

Operators

Beyond Basic Arithmetic

Class Math

Chapter 5. Conversions and Contexts

Chapter 15. Expressions

Manipulate text, including text blocks, using String and StringBuilder classes.

Text Blocks

Class String

Class StringBuilder

Strings

The StringBuilder Class

Manipulate date, time, duration, period, instant and time-zone objects including daylight saving time using Date-Time API.

Date and Time Classes

Period and Duration

Instant Class

Time Zone and Offset Classes

Parsing and Formatting

Package java.time

Class ZonedDateTime

Controlling Program Flow

Create program flow control constructs including if/else, switch statements and expressions, loops, and break and continue statements.

The if-then and if-then-else Statements

Switch Expressions

Pattern Matching for switch Expressions and Statements

The for Statement

The while and do-while Statements

Branching Statements

Chapter 14. Blocks, Statements, and Patterns

Using Object-Oriented Concepts in Java

Declare and instantiate Java objects including nested class objects, and explain the object life-cycle including creation, reassigning references, and garbage collection.

Creating Objects

Using Objects

Nested Classes

Local Classes

Anonymous Classes

Chapter 8. Classes

Create classes and records, and define and use instance and static fields and methods, constructors, and instance and static initializers.

Declaring Classes

Record Classes

Understanding Class Members

Providing Constructors for Your Classes

Initializing Fields

Chapter 8. Classes

Implement overloaded methods, including var-arg methods.

Defining Methods

Passing Information to a Method or a Constructor

Chapter 8. Classes

Chapter 15. Expressions

Understand variable scopes, apply encapsulation, and create immutable objects. Use local variable type inference.

Variables

Controlling Access to Members of a Class

Immutable Objects

Local Variable Type Inference

Record Classes

Chapter 14. Blocks, Statements, and Patterns

Implement inheritance, including abstract and sealed types as well as record classes. Override methods, including that of the Object class. Implement polymorphism and differentiate between object type and reference type. Perform reference type casting, identify object types using the instanceof operator, and pattern matching with the instanceof operator and the switch construct.

Inheritance

Abstract Methods and Classes

Sealed Classes

Record Classes

Overriding and Hiding Methods

Object as a Superclass

Polymorphism

Pattern Matching for the instanceof Operator

Pattern Matching for switch Expressions and Statements

Create and use interfaces, identify functional interfaces, and utilize private, static, and default interface methods.

Interfaces

Default Methods

Annotation Interface FunctionalInterface

Package java.util.function

Chapter 9. Interfaces

Create and use enum types with fields, methods, and constructors.

Enum Types

Class Enum<E extends Enum<E>>

Chapter 8. Classes

Handling Exceptions

Handle exceptions using try/catch/finally, try-with-resources, and multi-catch blocks, including custom exceptions.

Catching and Handling Exceptions

The catch Blocks

The finally Block

The try-with-resources Statement

Creating Exception Classes

Interface AutoCloseable

Working with Arrays and Collections

Create arrays, List, Set, Map and Deque collections, and add, remove, update, retrieve and sort their elements.

Arrays

Interface List<E>

Interface Set<E>

Interface Map<K,V>

Interface Deque<E>

Object Ordering

Class Arrays

Class Collections

Working with Streams and Lambda expressions

Use Java object and primitive Streams, including lambda expressions implementing functional interfaces, to create, filter, transform, process, and sort data.

Lambda Expressions

Lesson: Aggregate Operations

Interface Stream<T>

Interface IntStream

Package java.util.function

Package java.util.stream

Perform decomposition, concatenation, and reduction, and grouping and partitioning on sequential and parallel streams.

Reduction

Parallelism

Class Collectors

Interface Stream<T>

Package java.util.stream

Packaging and Deploying Java Code

Define modules and expose module content, including that by reflection, and declare module dependencies, define services, providers, and consumers.

Chapter 7. Packages and Modules

Class Module

Class ModuleLayer

Class ServiceLoader<S>

Package java.lang.reflect

Creating Extensible Applications

Compile Java code, create modular and non-modular jars, runtime images, and implement migration to modules using unnamed and automatic modules.

The javac Command

The jar Command

The jlink Command

The jdeps Command

The jmod Command

Migrating From JDK 8 to Later JDK Releases

Creating a JAR File

Managing Concurrent Code Execution

Create both platform and virtual threads. Use both Runnable and Callable objects, manage the thread lifecycle, and use different Executor services and concurrent API to run tasks.

Virtual Threads

Class Thread

Interface Runnable

Interface Callable<V>

Interface ExecutorService

Class Executors

Executors

Develop thread-safe code, using locking mechanisms and concurrent API.

Synchronization

Intrinsic Locks and Synchronization

Lock Objects

Atomic Variables

Package java.util.concurrent.locks

Package java.util.concurrent.atomic

Chapter 17. Threads and Locks

Process Java collections concurrently and utilize parallel streams.

Concurrent Collections

Parallelism

Class ConcurrentHashMap<K,V>

Package java.util.concurrent

Package java.util.stream

Using Java I/O API

Read and write console and file data using I/O streams.

I/O Streams

Byte Streams

Character Streams

I/O from the Command Line

Reading, Writing, and Creating Files

Class Console

Serialize and de-serialize Java objects.

Object Streams

Interface Serializable

Class ObjectOutputStream

Class ObjectInputStream

Construct, traverse, create, read, and write Path objects and their properties using the java.nio.file API.

The Path Class

Path Operations

Walking the File Tree

Reading, Writing, and Creating Files

Managing Metadata (File and File Store Attributes)

Interface Path

Class Files

Implementing Localization

Implement localization using locales and resource bundles. Parse and format messages, dates, times, and numbers, including currency and percentage values.

Lesson: Setting the Locale

Lesson: Isolating Locale-Specific Data

Dealing with Compound Messages

Class ResourceBundle

Class MessageFormat

Class NumberFormat

Class DateTimeFormatter

Candidates are also expected to:

Understand the basics of Java Logging API.

Java Logging Overview

Package java.util.logging

Class Logger

Use Annotations such as Override, FunctionalInterface, Deprecated, SuppressWarnings, and SafeVarargs.

Predefined Annotation Types

Annotation Interface Override

Annotation Interface FunctionalInterface

Annotation Interface Deprecated

Annotation Interface SuppressWarnings

Annotation Interface SafeVarargs

Use generics, including wildcards.

Lesson: Generics (Updated)

Generic Types

Wildcards

Chapter 4. Types, Values, and Variables

Wrapping Up Oracle Java SE 21 Developer Professional

You now have official documentation for every Java SE 21 Developer Professional 1Z0-830 objective. Practise with JDK 21, trace code carefully, and revisit streams, modules and concurrency before exam day. You can also explore more Oracle certification study guides on the Oracle certification page to keep building your skills. Have a question or tip? Leave a comment below.

Receive Updates on Oracle Java SE 21 Developer Professional Exam


Want to be notified as soon as I post? Subscribe to the RSS feed / leave your email address in the subscribe section. Share the article to your social networks with the below links so it can benefit others.

Share the Oracle Java SE 21 Developer Professional Study Guide in Your Network

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *