Loading…
Loading…
Java
Exam-prep course for the Oracle Certified Professional Java SE 21 Developer exam (1Z0-830), with notes on the Java 25 successor exam (1Z0-831). Every article ships with a verified practice quiz.
Ten exam-style questions on stream pipeline parts, lazy evaluation, single use, finite sources such as Stream.of, ofNullable and Arrays.stream, infinite sources generate and iterate, and which terminal operations finish on infinite streams, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on creating Optional with of, ofNullable and empty, unwrapping with get, orElse, orElseGet and orElseThrow, ifPresent, and chaining map, filter, flatMap, or and stream, with explanations.
kvi5hnuCode Sprout team member1 minA 20-question mixed review of OCP Java 21 Chapter 9: common Collection methods, List, Set, Queue and Deque, Map and its merge and compute methods, sorting with Comparable and Comparator, sequenced collections, generic classes and methods, and wildcards.
kvi5hnuCode Sprout team member1 minTen exam-style questions on generic invariance, unbounded, upper-bounded and lower-bounded wildcards, what you can add and read through each, PECS, List<?> versus var, and illegal wildcard declarations, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on declaring generic classes, interfaces and records, generic method syntax, type erasure and its limits, overloading and overriding with generic types, shadowed type parameters and bounded type parameters, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on Java 21 SequencedCollection, SequencedSet and SequencedMap methods, which classes are sequenced, sequenced versus sorted, reversed views, unmodifiable views versus copies, and choosing a collection type, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on compareTo and compare, the return value contract, Comparator helper methods and chaining with reversed, Collections.sort versus TreeSet checks, and binarySearch results, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on HashMap, LinkedHashMap and TreeMap, Map.of and Map.ofEntries, put and getOrDefault return values, putIfAbsent and replace, forEach and entrySet, and the null rules of merge and the compute methods, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on HashSet, LinkedHashSet and TreeSet ordering and rules, Set.of and Set.copyOf, Queue methods that throw or return null, Deque methods at both ends, stack operations, and ArrayDeque versus LinkedList, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on ArrayList and LinkedList, Arrays.asList, List.of and List.copyOf, index-based list methods, the overloaded remove, indexOf, replaceAll and toArray, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on the Collections Framework interfaces, generics with diamond and var, and the Collection methods add, remove, contains, removeIf, forEach, iterators, equals, null unboxing and unmodifiable collections, with explanations.
kvi5hnuCode Sprout team member1 minA 20-question mixed review of OCP Java 21 Chapter 8: lambda syntax, functional interfaces and the SAM rule, method references, the built-in functional interfaces, convenience methods, primitive specializations, and variables in lambdas.
kvi5hnuCode Sprout team member1 minTen exam-style questions on lambda parameter type inference, var and final parameters, consistent parameter formats, locals inside lambda blocks, name clashes, and effectively final captures of locals and parameters versus fields, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on Predicate and, or, negate and not, Function andThen versus compose, Consumer andThen, and the primitive functional interfaces with their renamed methods, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on Supplier, Consumer, BiConsumer, Predicate, BiPredicate, Function, BiFunction, UnaryOperator and BinaryOperator: method names, type arguments, return types and choosing the right interface, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on static, bound, unbound and constructor method references, lambda equivalents, parameter order, overload selection, ambiguous references, and when a lambda can't become a method reference, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on the single abstract method rule, the @FunctionalInterface annotation, inherited and merged abstract methods, default, static and private methods, Object method redeclarations, and invalid lambda targets, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on lambda syntax: optional parentheses, braces, return and semicolons, var and typed parameters, target typing, void-compatible bodies, name clashes with local variables, and deferred execution, with explanations.
kvi5hnuCode Sprout team member1 minA 20-question mixed review of OCP Java 21 Chapter 7: interfaces and their implicit modifiers, default, static and private interface methods, enums, sealed types, records, record patterns, nested, local and anonymous classes, and polymorphism with casting.
kvi5hnuCode Sprout team member1 minTen exam-style questions on object versus reference type, implicit and explicit casts, ClassCastException, casts the compiler rejects, instanceof, virtual method calls, and hidden fields and static methods, with explanations.
kvi5hnuCode Sprout team member1 min