Loading…
Loading…
Java
The Core Java course: the language, the JVM, objects, inheritance, interfaces, generics, collections, concurrency, annotations and the module system. Targets Java 21+ with notes through Java 27.
Learn how Java annotations work: what they are for, element syntax and defaults, value and single-element shortcuts, repeated annotations, annotating declarations, packages and record components, type-use annotations on generics and arrays, and receiver parameters.
kvi5hnuCode Sprout team member10 minRun external programs from Java with ProcessBuilder and Process: commands and working directories, stdin/stdout/stderr pipes, redirects, environment variables, pipelines, exit codes, timeouts, destroy, onExit and inspecting any OS process with ProcessHandle.
kvi5hnuCode Sprout team member10 minKeep Java desktop apps responsive: why the UI thread must never block, how to run work in background threads, update components safely with EventQueue.invokeLater, and use SwingWorker's doInBackground, publish, process, done and cancel, plus JavaFX and Android equivalents.
kvi5hnuCode Sprout team member9 minWrite non-blocking Java code with CompletableFuture: supplyAsync, thenApply, thenCompose, thenAccept, exceptionally, handle, timeouts, thenCombine, allOf and anyOf, completing futures yourself, cancellation and building clean asynchronous pipelines.
kvi5hnuCode Sprout team member11 minUpdate a Java ConcurrentHashMap atomically with compute, merge and computeIfAbsent, run parallel search, forEach and reduce bulk operations, build concurrent sets, use copy-on-write lists, parallelSort, parallelSetAll and parallelPrefix, and compare synchronization wrappers.
kvi5hnuCode Sprout team member12 minCoordinate Java threads without explicit locks: BlockingQueue put and take, offer and poll with timeouts, ArrayBlockingQueue, LinkedBlockingQueue, PriorityBlockingQueue, TransferQueue, DelayQueue, poison pills, ConcurrentSkipListMap and weakly consistent iterators.
kvi5hnuCode Sprout team member11 minJava's eight primitive types, with a deep dive into byte, short, int, long, float and double: their sizes and ranges, number literals (hex, binary, underscores), overflow, unsigned tricks, floating-point rounding errors, Infinity and NaN.
kvi5hnuCode Sprout team member13 minA line-by-line explanation of a simple Java program: classes and naming rules, why the file name matters, what public static void main(String[] args) means, statements and method calls, print vs println, exit codes, comments, and Java 25's simpler main.
kvi5hnuCode Sprout team member13 minJShell lets you type Java expressions and see results instantly, with no class, no main method and no compile step. Learn snippets, $ variables, tab completion, methods and records, the most useful slash commands, and how to use JShell to learn faster.
kvi5hnuCode Sprout team member9 minWhy professional Java developers use an IDE, how to choose between IntelliJ IDEA, Eclipse, VS Code and NetBeans, and how to create a project, run it, fix compile errors with quick fixes, and step through code with the debugger.
kvi5hnuCode Sprout team member12 minLearn exactly what javac and java do, why the file name must match the public class, how to run single and multi-file programs without compiling first, and how to read and fix the most common command-line errors.
kvi5hnuCode Sprout team member12 minA step-by-step guide to installing Java 25 (LTS): choosing a JDK vendor, installing with an installer or package manager, setting PATH and JAVA_HOME, checking the install, and getting the library source code and API docs.
kvi5hnuCode Sprout team member13 minIs Java slow? Is it the same as JavaScript? Is it dead, or no longer free? Fourteen common myths about Java, each explained and corrected, so you start learning with an accurate picture of the platform.
kvi5hnuCode Sprout team member13 minHow a Sun Microsystems project for TV set-top boxes became one of the world's most used platforms. Covers Oak, HotJava and applets, every major Java version up to Java 27, the six-month release cycle, and what LTS means.
kvi5hnuCode Sprout team member15 minSimple, object-oriented, robust, secure, portable, high-performance and more: what Java's designers promised in 1995, what each buzzword really means, and how well each promise holds up in modern Java.
kvi5hnuCode Sprout team member19 minJava is a language, a huge standard library and a virtual machine that work together. Learn what JDK, JRE, JVM and bytecode mean, how a Java program actually runs, and which Java editions and versions exist today.
kvi5hnuCode Sprout team member15 minThe complete table of contents for the Core Java course: 116 articles across twelve parts, from "what is Java" through modules, with the current reading order and short notes on what each article covers. Start here, or jump to any part.
kvi5hnuCode Sprout team member10 min