Oracle · 2026 Edition
A complete preparation guide written by Oracle-certified engineers. Covers the exam format,all 7 blueprint domains, a week-by-week study plan, and proven tips for passing first time.
4–8 weeks
Prep time
Beginner
Difficulty
75
Exam questions
650/1000
Pass mark
Exam code
1Z0-811
Full name
Oracle Java Foundations
Vendor
Oracle
Duration
75 minutes
Questions
75 items
Passing score
650/1000 (scaled)
Domains covered
7 blueprint domains
Recommended experience
No formal prerequisites; some programming exposure is helpful but not required
Typical prep time
4–8 weeks
Oracle Java Foundations (1Z0-811) is the entry-level Java credential, suitable for students and career-changers learning to code. It validates fundamental Java programming skills and is a recognised credential for junior developer and apprenticeship roles.
Job roles this opens
Domain percentage weights are not currently available for this exam. The checklist below is still useful for planning your study.
Weeks 1–2
Java Basics: JDK vs JRE, compilation, main method, output, comments, variables, data types
Tip: Know the difference between compiling (javac Hello.java creates Hello.class bytecode) and running (java Hello executes the bytecode on the JVM). Know the eight Java primitive types: byte, short, int, long, float, double, char, boolean — their sizes and default values when declared as instance variables.
Weeks 3–4
Operators and Control Flow: arithmetic, comparison, logical operators, if/else, switch, loops
Tip: Know the difference between == (compares references for objects, values for primitives) and .equals() (compares content for objects). A common exam distractor is comparing two String objects with == — they may be different objects even if their content is identical, so == returns false while .equals() returns true.
Weeks 5–6
Object-Oriented Programming: classes, objects, methods, constructors, encapsulation, inheritance basics
Tip: Know the four pillars of OOP tested on 1Z0-811: Encapsulation (private fields, public getters/setters), Inheritance (extends keyword, subclass inherits superclass fields and methods), Polymorphism (same method name, different behaviour — method overriding), Abstraction (hiding implementation details). Know a simple example of each.
Weeks 7–8
Arrays, ArrayList, String methods, and basic exception handling
Tip: Arrays vs ArrayList: arrays have fixed size and can hold primitives; ArrayList is dynamic and requires objects (use Integer, not int). Know: array declaration (int[] arr = new int[5]), array access (arr[0]), ArrayList operations (add, get, set, remove, size). Know that ArrayList is in java.util and must be imported.
1Z0-811 exam: 75 questions, 90 minutes. The questions include code snippets — read them carefully and trace through the logic before selecting an answer. Do not assume what a program does; execute it mentally line by line.
String is immutable in Java. Every string operation (concat, replace, toUpperCase) creates a new String object — the original is unchanged. Know key String methods: length(), charAt(), indexOf(), substring(), equals(), equalsIgnoreCase(), toUpperCase(), toLowerCase(), trim(), replace(), and split().
The scope of a variable determines where it can be accessed: local variables (declared inside a method — only accessible within that method), instance variables (declared inside a class but outside methods — accessible by all methods of the class), and class variables (static — shared across all instances). Know what happens when a local variable shadows an instance variable.
Exception handling basics: try (code that might throw an exception), catch (handle a specific exception type), finally (runs whether or not an exception occurred — used for cleanup). Know the difference between checked exceptions (must be caught or declared with throws) and unchecked exceptions (RuntimeException subclasses — do not require explicit handling).
1Z0-811 is a stepping stone to OCP Java SE Developer certifications. After earning Java Foundations, the next recommended step is the Java SE 17 Associate (now incorporated into the OCP path) or enrolling in a Java bootcamp or degree programme to build the experience needed for OCP.
Apply everything in this guide with adaptive practice questions, detailed answer explanations, and domain analytics.
Deep-dive explanations of the key topics tested on 1Z0-811 — with exam key points and common misconceptions.