Why Study with PlanetCert?
The Latest Questions
Practice questions and exam topics aligned with the current exam objectives.
Detailed Explanations
Go beyond the answer. Master the material with comprehensive learning and professional explanations for every concept.

AI-Powered Insights
Personalized preparation guidance that adapts to your performance and identifies weak spots automatically.
Exam Information
Official specifications published by Oracle
Exam Format
Registration
Validity
Skills this practice test covers
- Design immutable and singleton classes, and override equals, hashCode and toString.
- Pick Predicate, Function, Consumer, Supplier or a primitive functional interface for a lambda.
- Build Stream pipelines with map, filter, flatMap and collect, and group results with Collectors.
- Run tasks with an ExecutorService, and spot deadlock, livelock and race conditions.
- Copy, move and walk files with the NIO.2 Files class, and use java.io readers and writers.
- Query a database through JDBC, and load resource bundles for different locales.
Explore related topics
1z0-809 exam content
12 domains · 56 topics · 906 questions
Java Class Design
This domain revisits object-oriented design at a professional level. Candidates apply encapsulation, inheritance and polymorphism, override the methods of Object, and build singleton and immutable classes.
Skills tested
- Choose between inheritance and composition for a design.
- Override hashCode, equals and toString so that equal objects return the same hash code.
- Create a singleton class and an immutable class.
- Predict the order in which static initializer blocks and static variables run.
Official topics
- Implement encapsulation
- Implement inheritance including visibility modifiers and composition
- Implement polymorphism
- Override hashCode, equals, and toString methods from Object class
- Create and use singleton classes and immutable classes
- Develop code that uses static keyword on initialize blocks, variables, methods, and classes
Advanced Java Class Design
This domain covers class features beyond basic inheritance. Candidates use abstract classes, the final keyword, inner and anonymous classes, enums with constructors, interfaces with @Override, and lambda expressions.
Skills tested
- Decide what final prevents on a variable, a method or a class.
- Create static inner, local, nested and anonymous inner classes.
- Give an enum a constructor, fields and methods.
- Write a lambda expression for a functional interface.
Official topics
- Develop code that uses abstract classes and methods
- Develop code that uses the final keyword
- Create inner classes including static inner class, local class, nested class, and anonymous inner class
- Use enumerated types including methods, and constructors in an enum type
- Develop code that declares, implements and/or extends interfaces and use the @Override annotation
- Create and use Lambda expressions
Generics and Collections
This domain covers type-safe containers. Candidates write generic classes, use ArrayList, TreeSet, TreeMap and ArrayDeque, sort with Comparator and Comparable, and start to filter collections with streams and method references.
Skills tested
- Write a generic class with a type parameter.
- Choose ArrayList, TreeSet, TreeMap or ArrayDeque for a task.
- Sort objects with Comparable and with a Comparator.
- Filter a collection with a lambda, and use method references with streams.
Official topics
- Create and use a generic class
- Create and use ArrayList, TreeSet, TreeMap, and ArrayDeque objects
- Use java.util.Comparator and java.lang.Comparable interfaces
- Collections Streams and Filters
- Iterate using forEach methods of Streams and List
- Describe Stream interface and Stream pipeline
- Filter a collection by using lambda expressions
- Use method references with Streams
Lambda Built-in Functional Interfaces
This domain is about the interfaces in java.util.function. Candidates match each task to Predicate, Consumer, Function or Supplier, to their binary and primitive versions, or to UnaryOperator.
Skills tested
- Choose Predicate, Consumer, Function or Supplier from what a lambda takes and returns.
- Use primitive versions of functional interfaces to avoid boxing.
- Use BiFunction, BiConsumer and BinaryOperator for operations on two arguments.
Official topics
- Use the built-in interfaces included in the java.util.function package such as Predicate, Consumer, Function, and Supplier
- Develop code that uses primitive versions of functional interfaces
- Develop code that uses binary versions of functional interfaces
- Develop code that uses the UnaryOperator interface
Java Stream API
This domain covers processing data with streams. Candidates extract data with map and peek, search with findFirst and anyMatch, handle Optional results, and sort, collect, group and flatten data.
Skills tested
- Transform elements with map and its primitive versions, and inspect them with peek.
- Search a stream with findFirst, findAny, anyMatch, allMatch and noneMatch.
- Handle a result that may be empty with the Optional class.
- Group and partition results with the Collectors class.
- Flatten nested lists with flatMap.
Official topics
- Develop code to extract data from an object using peek() and map() methods including primitive versions of the map() method
- Search for data by using search methods of the Stream classes including findFirst, findAny, anyMatch, allMatch, noneMatch
- Develop code that uses the Optional class
- Develop code that uses Stream data methods and calculation methods
- Sort a collection using Stream API
- Save results to a collection using the collect method and group/partition data using the Collectors class
- Use flatMap() methods in the Stream API
Exceptions and Assertions
This domain goes beyond basic try-catch. Candidates use multi-catch and finally, write try-with-resources statements, create custom exceptions and AutoCloseable resources, and test invariants with assertions.
Skills tested
- Write a multi-catch block, and say when a finally block runs.
- Close resources automatically with a try-with-resources statement.
- Create a custom exception class and an AutoCloseable resource.
- Test an invariant with assert, and know that assertions stay off until they are enabled.
Official topics
- Use try-catch and throw statements
- Use catch, multi-catch, and finally clauses
- Use Autoclose resources with a try-with-resources statement
- Create custom exceptions and Auto-closeable resources
- Test invariants by using assertions
Use Java SE 8 Date/Time API
This domain covers dates and times in the java.time package. Candidates combine a date and a time in one object, measure intervals with Period and Duration, and handle time zones and daylight saving changes.
Skills tested
- Create LocalDate, LocalTime, LocalDateTime and Instant objects.
- Measure intervals with Period, Duration and TemporalUnit.
- Format dates, and handle daylight saving changes across time zones.
Official topics
- Create and manage date-based and time-based events including a combination of date and time into a single object using LocalDate, LocalTime, LocalDateTime, Instant, Period, and Duration
- Work with dates and times across timezones and manage changes resulting from daylight savings including Format date and times values
- Define and create and manage date-based and time-based events using Instant, Period, Duration, and TemporalUnit
Java I/O Fundamentals
This domain covers the classic java.io package. Candidates read and write console data, and use readers, writers and byte streams, including object streams for serialization.
Skills tested
- Read input from the console and write output to it.
- Choose between BufferedReader, FileReader, FileInputStream and PrintWriter for a task.
- Write and read objects with ObjectOutputStream and ObjectInputStream.
Official topics
- Read and write data from the console
- Use BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter in the java.io package
Java File I/O (NIO.2)
This domain covers the newer file API in java.nio.file. Candidates work with paths, check, copy, move and delete files, read their metadata, and process files with streams.
Skills tested
- Build, combine and compare file and directory paths with the Path interface.
- Check, read, copy, move and delete files with the Files class.
- Process directory trees and file lines with Files.walk and Files.lines.
Official topics
- Use Path interface to operate on file and directory paths
- Use Files class to check, read, delete, copy, move, manage metadata of a file or directory
- Use Stream API with NIO.2
Java Concurrency
This domain covers running work in parallel without corrupting data. Candidates create worker threads, use an ExecutorService, recognize threading problems, and use synchronization, atomic classes, concurrent collections, Fork/Join and parallel streams.
Skills tested
- Submit Runnable and Callable tasks to an ExecutorService.
- Recognize deadlock, starvation, livelock and race conditions.
- Protect shared data with synchronized blocks and atomic classes.
- Use CyclicBarrier, CopyOnWriteArrayList and the Fork/Join Framework.
- Reduce and merge results with parallel streams.
Official topics
- Create worker threads using Runnable, Callable and use an ExecutorService to concurrently execute tasks
- Identify potential threading problems among deadlock, starvation, livelock, and race conditions
- Use synchronized keyword and java.util.concurrent.atomic package to control the order of thread execution
- Use java.util.concurrent collections and classes including CyclicBarrier and CopyOnWriteArrayList
- Use parallel Fork/Join Framework
- Use parallel Streams including reduction, decomposition, merging processes, pipelines and performance
Building Database Applications with JDBC
This domain covers talking to a database from Java. Candidates describe the core JDBC interfaces, connect with DriverManager and a JDBC URL, run queries, read result sets and close every resource properly.
Skills tested
- Describe Driver, Connection, Statement and ResultSet, and how a driver implements them.
- Open a connection with DriverManager and a JDBC URL.
- Iterate through a ResultSet, then close it with its statement and connection.
Official topics
- Describe the interfaces that make up the core of the JDBC API including the Driver, Connection, Statement, and ResultSet interfaces and their relationship to provider implementations
- Identify the components required to connect to a database using the DriverManager class including the JDBC URL
- Submit queries and read results from the database including creating statements, returning result sets, iterating through the results, and properly closing result sets, statements, and connections
Localization
This domain covers adapting an application to languages and regions. Candidates read and set a Locale, create and read a Properties file, and load the right resource bundle for each locale.
Skills tested
- Read and set the locale with the Locale object.
- Create and read a Properties file.
- Build a resource bundle for each locale and load the right one.
Official topics
- Read and set the locale by using the Locale object
- Create and read a Properties file
- Build a resource bundle for each locale and load a resource bundle in an application
Requirements
- Oracle's path: earn Oracle Certified Associate by passing Java SE 8 Programmer I, then pass this exam.
- Recommended: a year or two of Java development, including work with Java SE 8 features.
- Recommended: advanced Java SE 8 training plus practical, hands-on experience, as Oracle's exam page advises.
About the 1z0-809 exam
1z0-809 checks whether an experienced Java developer can use the Java SE 8 APIs found in real applications. It is Oracle's Java SE 8 Programmer II exam and the step after Java SE 8 Programmer I. Its twelve domains add generics and collections, functional interfaces, the Stream API, the Date/Time API, file I/O with NIO.2, concurrency, JDBC and localization to class design. Together, the two exams earn Oracle Certified Professional, Java SE 8 Programmer.
Every explanation in the PlanetCert practice test follows the code to its result, for example the output of a Stream pipeline step by step, or the moment a try-with-resources statement closes its resource. Study Mode suits Java Concurrency and Java Stream API, where each question rewards a slow trace. Flashcard Mode helps with the built-in functional interfaces, from BiFunction to UnaryOperator. Brainy AI Assistant can show what a grouping collector returns for a sample list, or why a parallel stream can change the order of results.
How to earn the certification
- Earns
- Oracle Certified Professional, Java SE 8 ProgrammerProfessional
The certification does not expire.
- Before
- 1z0-808 Java SE 8 Programmer I
Required first. It earns Oracle Certified Associate, Java SE 8 Programmer, the first of the two steps.
- 1z0-808 Java SE 8 Programmer I
- After
- 1z0-900 Java EE 7 Application Developer
Oracle's exam on building enterprise applications with Java EE 7, which builds on Java SE skills.
- 1z0-900 Java EE 7 Application Developer
How to prepare for 1z0-809
- 1
Pass the associate exam first
Oracle's path puts Java SE 8 Programmer I before this exam. Treat its topics, such as access modifiers and exception basics, as the base that the 1z0-809 objectives build on.
- 2
Write stream pipelines daily
Build small pipelines with filter, map, flatMap, sorted and collect, then group and partition the results with Collectors. Predict each result before running the code.
- 3
Break and fix concurrent code
Start tasks with an ExecutorService, create a race condition on purpose, then fix it with synchronized or AtomicInteger. Add a CyclicBarrier and a parallel stream to see how results and their order change.
- 4
Handle files, JDBC and bundles
Walk a folder with Files.walk, copy and move files with the Files class, and read text with BufferedReader. Then query a local test database with JDBC and load a resource bundle for two locales.
- 5
Time full runs at the end
Work through the 1z0-809 practice test by domain in Study Mode, then take full runs in Timed Mode. Ask Brainy AI Assistant to rework any missed Stream API question with a different list of data.
Start a timed 1z0-809run
Oracle recommends the Java SE 8 Programmer - Professional learning path on Oracle MyLearn for this exam.
Who 1z0-809 is for
- Developers who passed Java SE 8 Programmer I and want the professional Java SE 8 credential.
- Backend and application developers who maintain Java 8 code built on streams and lambdas.
- Engineers who write multithreaded or database-backed Java applications.
- Developers who want proof of Java skills beyond core syntax.
Typical job titles: Java developer · Software engineer · Backend developer · Application developer · Java consultant
1z0-809 glossary
20 terms from the exam objectives and the vendor's official material, each defined in a sentence.
- AutoCloseable interface
- The interface a class implements so that a try-with-resources statement can close it.
- BiFunction
- A functional interface that takes two arguments and returns a result.
- Callable interface
- A task interface like Runnable, except that its call method returns a value and can throw a checked exception.
- Collectors
- A class of ready-made collectors that gather stream results into lists, maps, groups or partitions.
- CopyOnWriteArrayList
- A thread-safe list that copies its array on every change, so a loop over it never sees a half-made update.
- CyclicBarrier
- A concurrency aid that makes a set of threads wait until all of them reach the same point.
- Deadlock
- A state in which two or more threads wait forever, each holding a lock that another one needs.
- DriverManager class
- The JDBC class that finds a suitable driver and opens a database connection from a JDBC URL.
- ExecutorService
- A service that runs submitted tasks on a pool of threads and can return their results.
- flatMap
- A stream operation that turns each element into a stream and joins the results into one flat stream.
- Fork/Join Framework
- A framework that splits a large task into smaller ones, runs them in parallel and joins their results.
- Functional interface
- An interface with exactly one abstract method, which a lambda expression can implement.
- Livelock
- A state in which threads keep reacting to each other and never make progress, although none of them is blocked.
- Method references
- Short forms such as String::length that point to an existing method instead of spelling out a lambda.
- Optional
- A container that may or may not hold a value, used instead of returning null.
- Resource bundle
- A set of locale-specific text and values, so an application can show the right language for each user.
- ResultSet
- The JDBC object that holds the rows a query returns, read one row at a time through a cursor.
- Supplier
- A functional interface that takes no input and returns a value, often used to create objects only when needed.
- try-with-resources
- A try statement that declares resources and closes them automatically when the block ends.
- UnaryOperator
- A Function whose input and output have the same type, such as changing a String to upper case.