Oracle Java SE 25 Developer Professional Study Guide (1Z0-831)

Oracle Java SE 25 Developer Professional Study Guide (1Z0-831)

Oracle Java SE 25 Developer Professional Preparation Details

This Oracle Java SE 25 Developer Professional study guide prepares you for the 1Z0-831 exam. It links official Oracle documentation to every exam topic, from records and stream gatherers to virtual threads. You can also explore more Oracle certification study guides on the Oracle certification page to keep building your skills.

Oracle Java SE 25 Developer Professional Materials

CourseraOCP Java SE 21 Certification Preparation
UdemyJava SE 25 Certification Practice Tests (1Z0-831)
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

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

Package java.time

Class ZonedDateTime

Implementing Program Flow Control Using Decision and Looping Constructs

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 and Statements

Pattern Matching with switch

The for Statement

The while and do-while Statements

Branching Statements

Applying Object-Oriented Principles in Java Programs

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

Introduction to Garbage Collection Tuning

Chapter 12. Execution

Create classes and records, and define and use instance and static fields and methods, constructors, including flexible constructor bodies, and instance and static initializers.

Declaring Classes

Record Classes

Understanding Class Members

Providing Constructors for Your Classes

Flexible Constructor Bodies

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

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

Declaring Member Variables

Variables

Controlling Access to Members of a Class

Immutable Objects

Local Variable Type Inference

Unnamed Variables 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.

Inheritance

Abstract Methods and Classes

Sealed Classes

Record Classes

Overriding and Hiding Methods

Object as a Superclass

Polymorphism

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

Implementing Exception Handling in Java Applications

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

Using Arrays and Collections to Store and Retrieve Data

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

Arrays

Creating Sequenced Collections, Sets, and Maps

Interface List<E>

Interface Set<E>

Interface Map<K,V>

Interface Deque<E>

Object Ordering

Processing Data Using Streams and Lambda Expressions

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

Lesson: Aggregate Operations

Lambda Expressions

Package java.util.function

Package java.util.stream

Interface Stream<T>

Interface IntStream

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

Reduction

Class Collectors

Stream Gatherers

Class Gatherers

Interface Stream<T>

Parallelism

Packaging and Deploying Java Code

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

Chapter 7. Packages and Modules

Module Import Declarations

Class Module

Package java.lang.reflect

Class ServiceLoader<S>

Creating Extensible Applications

Compile and run Java source code, including compact source files, instance main methods, and multi-file source-code programs; create modular and non-modular jars and runtime images; and implement migration to modules using unnamed and automatic modules.

Compact Source Files and Instance main Methods

JEP 458: Launch Multi-File Source-Code Programs

The javac Command

The java Command

The jar Command

The jlink Command

The jdeps Command

Migrating from JDK 8 to Later JDK Releases

Implementing Multithreading for Concurrent Code Execution

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

Virtual Threads

Class Thread

Interface Runnable

Interface Callable<V>

Interface ExecutorService

Class Executors

Scoped Values

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

Synchronization

Intrinsic Locks and Synchronization

Lock Objects

Package java.util.concurrent.locks

Package java.util.concurrent.atomic

Package java.util.concurrent

Process Java collections concurrently and utilize parallel streams.

Concurrent Collections

Class ConcurrentHashMap<K,V>

Parallelism

Package java.util.stream

Class Collections

Performing Input and Output Operations Using the 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

Class Console

Class IO

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

Reading, Writing, and Creating Files

Walking the File Tree

Managing Metadata (File and File Store Attributes)

Interface Path

Class Files

Developing Applications with Localization Support

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

Class ResourceBundle

Dealing with Compound Messages

Class MessageFormat

Class NumberFormat

Class DateTimeFormatter

Wrapping Up Oracle Java SE 25 Developer Professional

You have now worked through every topic for the Oracle Java SE 25 Developer Professional (1Z0-831) exam. Practise each feature in JDK 25, revisit your weaker areas, and book the exam when you feel ready. 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 25 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 25 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 *