Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Exam preparation

Oracle 1Z0-819 Exam Guide for the Java

1Z0-819 is the code of the Oracle Java SE 11 Developer exam, part of the Oracle Java certification. It is scored across 13 exam topics. For your exam preparation, each topic below links to its own free practice questions. 18 are online now, with answers and explanations.

1Z0-819 Exam Details

Vendor
Oracle
Exam Code
1Z0-819
Free Practice Questions
18
Full Question Set
296
Exam Topics
13
Last Updated
November 30, 2026
Exam Name
Java SE 11 Developer
Certification
Oracle Java

1Z0-819 Exam Topics and Weights

Working with Java Data Types

What this topic covers

Work with primitives and wrappers, applying operators, casting, and type promotion correctly. Use String and StringBuilder, and apply local variable type inference, including in lambda parameters.

How can you convert a digit character into its int value?

Subtract '0' from the character, because digit characters have consecutive codes. For example, '7' - '0' gives the int 7. This also lets you sum the digits of a very long number without building or parsing it as a number.

1 free 1Z0-819 practice question on Working with Java data types

Controlling Program Flow

What this topic covers

Build Java logic with loops, if/else branches, and switch statements. Understand how traditional colon-style case labels can share a body.

Can case 10 and case 11 share one body in Java 11?

Yes, with traditional colon-style labels. Write case 10: directly above case 11: and the statements after case 11 run for both values. Without a break, execution falls through to the next case, so add break after the shared body.

1 free 1Z0-819 practice question on Controlling Program Flow

Java Object-Oriented Approach

What this topic covers

Create and manage objects, fields, constructors, and methods while applying encapsulation and immutability. Use inheritance, interfaces, polymorphism, and enums, distinguishing an object's type from its reference type.

Do default and static methods count toward a functional interface's single abstract method?

No. A functional interface has exactly one abstract method, and its default, static, and private methods do not increase that count. Comparator is still functional even though it has many default methods, because compare is its only abstract method.

3 free 1Z0-819 practice questions on Java Object-Oriented Approach

Exception Handling

What this topic covers

Manage failures with try/catch/finally, multi-catch, and try-with-resources, including reliable resource closure when exceptions occur. Define and use custom exceptions.

When does try-with-resources close a resource, even if an IOException is thrown?

The resource is opened before the try block runs, and it is closed when control leaves the try block. That happens on normal completion and when an IOException is thrown, and it happens before any catch block runs.

1 free 1Z0-819 practice question on Exception Handling

Working with Arrays and Collections

What this topic covers

Choose and use arrays and collections such as List, Set, Map, and Deque, with generics and wildcards. Copy, sort, and compare data using Comparator and Comparable.

Is a copy made with new ArrayList still tied to the source list?

No. Passing a source list to new ArrayList copies its elements into a new, mutable list, and the source is left unchanged. This is useful when the source is immutable, such as a list from List.of, because you cannot add to that list directly.

1 free 1Z0-819 practice question on Working with Arrays and Collections

Working with Streams and Lambda Expressions

What this topic covers

Implement functional interfaces with lambdas and process data through Java Streams. Filter, transform, group, partition, and reduce results while accounting for encounter order and parallel processing.

What does partitioningBy return for a stream of elements?

partitioningBy returns a Map keyed by Boolean, with a true list and a false list. On a sequential stream over an ordered List, each list keeps the encounter order. Both keys are always present, even when one of the lists is empty.

1 free 1Z0-819 practice question on Working with Streams and Lambda expressions

Java Platform Module System

What this topic covers

Declare modules, expose API packages with exports, and connect services. Deploy and run modular applications using module paths and module/class entry points, including automatic modules.

Why must a module export a package before others use it?

A module must export the package that holds its public API, using exports in module-info. Other modules can only use public types from packages that are exported. Public types in a package that is not exported stay hidden from other modules.

2 free 1Z0-819 practice questions on Java Platform Module System

Concurrency

What this topic covers

Create tasks with Runnable and Callable, and manage them with ExecutorService and Future. Protect shared data with locks and concurrent utilities, handling task failures and thread safety.

Why does Future.get throw ExecutionException when a Callable fails?

Future.get waits for the task to finish, and if the task threw an exception, it wraps that exception in ExecutionException. Callable can return a value and declare checked exceptions, which Runnable cannot do. Call getCause to see the original failure.

2 free 1Z0-819 practice questions on Concurrency

Java I/O API

What this topic covers

Read and write console and file data with streams, serialize objects, and manage paths with java.nio.file. Traverse directories with FileVisitor and control file creation and replacement.

Which symbolic links does Files.walkFileTree follow by default?

None. Files.walkFileTree traverses nested directories through a FileVisitor, but it does not follow symbolic links unless you pass FileVisitOption.FOLLOW_LINKS. Without that option, a link is visited as a link and its target is not walked.

2 free 1Z0-819 practice questions on Java I/O API

Secure Coding in Java SE Application

What this topic covers

Validate input and protect against injection, denial of service, and data tampering. Restrict file access with normalized and real paths, and manage policies and privileged code.

Is normalization enough to stop symbolic links from escaping a root folder?

No. Normalization and a startsWith check block ordinary absolute paths and parent segments like dots. A symbolic link can still resolve outside the permitted root, so compare the real path of the file with the real path of the root.

1 free 1Z0-819 practice question on Secure Coding in Java SE Application

Localization

What this topic covers

Use Locale and resource bundles to tailor Java applications for different regions. Parse and format messages, dates, and numbers with localized APIs such as currency NumberFormat.

1 free 1Z0-819 practice question on Localization

Annotations

What this topic covers

Create and apply annotations with suitable targets and retention policies. Process annotation metadata at runtime, including method annotations used by interceptors.

1 free 1Z0-819 practice question on Annotations

Related Oracle Exams

Continue to Free 1Z0-819 Exam Questions