1Z0-811 Cheat Sheet 2026
The 30 highest-yield 1Z0-811 facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.
60 questions
120 min time limit
65.00% to pass
- What is the significance of documentation in Exception Handling? → It provides a record for accountability, quality assurance, and legal compliance
- Which Java 11 feature allows running a single-file source program without explicitly compiling it first? → java Hello.java
- What is the primary purpose of standardized procedures in Exception Handling? → To ensure consistency, safety, and quality across all practitioners
- What is the purpose of the `jdeps` tool? → Analyze class and package-level dependencies of a JAR or class file
- Which access modifier allows access to a class member only within the same package and subclasses? → protected
- What does the "javac" command do? → It compiles Java source code into bytecode
- Which class do all Java classes implicitly extend if no explicit superclass is declared? → java.lang.Object
- What is the result of `new StringBuilder("abc").insert(1, "XY")`? → "aXYbc"
- What does `String.join("-", "a", "b", "c")` return? → "a-b-c"
- What is printed by `System.out.println(Double.isNaN(0.0 / 0.0))`? → true
- What is the output of the following? int a = 10; int b = 3; System.out.println(a % b); → 1
- What is the value of `x` after executing `int x = 10; x -= 3; x *= 2;`? → 14
- What is the result of `true || false && false` in Java? → true
- Can a private method in a parent class be overridden by a subclass? → No, private methods are not inherited and cannot be overridden
- Which of the following is true about Java's 'char' data type? → It is an unsigned 16-bit integer
- What quality metrics are most important in Java Fundamentals? → Measurable outcomes, process compliance, and stakeholder satisfaction
- What exception is thrown when an invalid cast is attempted at runtime? → ClassCastException
- Can a `static` method access instance variables directly? → No, because static methods belong to the class, not an instance
- What does calling 'super()' inside a constructor do? → Calls the parent class constructor
- Which of the following method signatures would cause a compilation error due to ambiguity in overloading? → void test(int a) and int test(int a)
- What is the result of integer division `7 / 2` in Java? → 3
- What is the result of calling an overridden method from the parent class constructor while instantiating a child class? → The child class version executes even before the child constructor body runs
- What happens if a class implements two interfaces that declare the same default method without overriding it? → Compilation error due to ambiguity
- What is the effect of calling `Collections.sort(list, Comparator.reverseOrder())`? → Sorts list in descending order
- Which method in `Iterable` is used to perform an action for each element? → forEach()
- Which option passed to `javac` enables preview features in Java 11? → --enable-preview combined with --release 11
- Are constructors inherited by subclasses in Java? → No, constructors are not inherited
- What happens when you compare two String objects using == in Java? → It compares their memory references
- Which operator is used for bitwise AND in Java? → &
- Which of the following statements about Java methods is true? → A method can be overloaded with different parameter types
Turn these facts into recall: