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 integer division and remainder, numeric promotion, widening and narrowing casts, overflow, constant expressions, compound assignment and the value of an assignment, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on operator kinds, precedence and associativity, left-to-right operand evaluation, the logical and bitwise complement, negation, and prefix and postfix increment and decrement, with explanations.
kvi5hnuCode Sprout team member1 minA 20-question mixed review of OCP Java 21 Chapter 1: the main method, source files, packages and imports, class path commands, constructors and initialization order, literals, wrappers, text blocks, var, scope and garbage collection.
kvi5hnuCode Sprout team member1 minTen exam-style questions on the scope of local variables, parameters, loop variables and fields, redeclaring names in nested blocks, garbage-collection eligibility, cycles, System.gc() and finalize(), with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on legal identifiers, declaring several variables in one statement, definite assignment of local variables, default values for fields, final variables and every rule of var, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on Java's primitive types and ranges, numeric literals in different bases, underscore rules, primitives versus references, wrapper classes and their parse and valueOf methods, and text blocks, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on creating objects: constructors versus look-alike methods, the default constructor, field defaults, instance initializer blocks, forward references, chained constructors and the order of initialization, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on packages, wildcard and single-type imports, java.lang, Date naming conflicts, javac -d, the class path options, JAR files and the order of elements in a source file, with explanations.
kvi5hnuCode Sprout team member1 minTen exam-style questions on the JDK tools, bytecode, comments, classes and source files, legal main() declarations, command-line arguments and single-file launching, with explanations.
kvi5hnuCode Sprout team member1 minThe last stop before the 1Z0-830 exam: a chapter-by-chapter checklist of the rules that decide most questions, a time plan for 50 questions in 120 minutes, how to review mock exams, and three full 50-question mock exams.
kvi5hnuCode Sprout team member10 minEvery developer-facing change from Java 22 to 25 that matters for the Java 25 exam (1Z0-831): unnamed variables, flexible constructor bodies, module imports, compact source files, stream gatherers and scoped values, plus what Java 26 and 27 changed and what's still in preview.
kvi5hnuCode Sprout team member12 minAdvanced I/O for the OCP 21 exam: mark, reset and skip on input streams, isHidden, isReadable and isExecutable, BasicFileAttributes and views, setTimes, Files.walk with depth limits and FOLLOW_LINKS cycles, Files.find with a BiPredicate, and DirectoryStream.
kvi5hnuCode Sprout team member10 minUser interaction for the OCP 21 exam: System.out versus System.err, reading System.in through BufferedReader, why closing system streams breaks output silently, java.io.Console with readLine, readPassword, writer and format, and the newer isTerminal and java.lang.IO.
kvi5hnuCode Sprout team member8 minJava serialization for the OCP 21 exam: Serializable, ObjectOutputStream and ObjectInputStream, transient and static fields, serialVersionUID, which constructors run on deserialization, records, custom writeObject/readObject and serialization filters.
kvi5hnuCode Sprout team member10 minReading and writing files for the OCP 21 exam: read and write loops that return -1, buffers and the read count, flush, BufferedReader.readLine, PrintWriter, append mode, Files.readString, readAllBytes, readAllLines versus lines, newBufferedReader and open options.
kvi5hnuCode Sprout team member8 minThe java.io stream family for the OCP 21 exam: byte versus character streams, character encodings and Charset, input versus output, low-level versus high-level streams and wrapping, the four abstract base classes, legal and illegal combinations, and decoding class names.
kvi5hnuCode Sprout team member8 minChanging the file system with NIO.2 for the OCP 21 exam: Files.copy for files, directories and I/O streams, shallow versus deep copies, REPLACE_EXISTING, move and ATOMIC_MOVE, delete versus deleteIfExists, symbolic links, and comparing with isSameFile and mismatch.
kvi5hnuCode Sprout team member7 minWorking with NIO.2 paths for the OCP 21 exam: immutability, getName, getNameCount and subpath, getFileName, getParent and getRoot, resolve, relativize, normalize, toRealPath and symbolic links, NIO.2 option enums, IOException rules and createDirectory versus createDirectories.
kvi5hnuCode Sprout team member8 minFiles and paths for the OCP 21 exam: absolute and relative paths, . and .., symbolic links, creating java.io.File and NIO.2 Path objects with Path.of, Paths.get, FileSystems and URIs, converting between them, and the File methods that map to Path and Files.
kvi5hnuCode Sprout team member8 minParallel streams for the OCP 21 exam: parallel() and parallelStream(), the common fork/join pool, forEach versus forEachOrdered, findAny and findFirst, reduce rules for identity and associativity, concurrent collectors, stateful lambdas and ThreadLocalRandom.
kvi5hnuCode Sprout team member9 min