Languages & Runtimes

Java & the JVM

Modern Java end to end: the language and OOP model, collections and generics, exceptions, streams and lambdas — and deep dives into how the JVM loads, verifies, JIT-compiles and garbage-collects your code, plus the Java Memory Model and concurrency, including virtual threads.

3 modules 14 lessons ~1 h of reading
Start learning
0/14 completed
01

The Language

7 lessons
  1. 1Java BasicsHow Java code is structured and run — the JDK, compiling and running, primitive vs reference types, strings, arrays, control flow, methods, packages, and the gotchas that trip up newcomers.beginner3 min
  2. 2OOP in JavaClasses, constructors, static vs instance members, inheritance, abstract classes, interfaces with default methods, records, enums, sealed types, nested classes, and the equals/hashCode contract.beginner3 min
  3. 3Java Collections FrameworkList, Set, Queue, Deque and Map — the main implementations, their complexities and internals (ArrayList growth, HashMap buckets and treeification, TreeMap), iteration, immutability, and choosing the right one.intermediate5 min
  4. 4GenericsType parameters for classes and methods, bounded types, wildcards and the PECS rule, type erasure and its consequences, and generic design tips.intermediate3 min
  5. 5ExceptionsThe Throwable hierarchy, checked vs unchecked exceptions, try/catch/finally, try-with-resources, custom exceptions, chaining, and best practices for error handling in Java.beginner3 min
  6. 6Streams & LambdasFunctional programming in Java — lambdas, functional interfaces, method references, the Stream API (map, filter, reduce, collect, groupingBy), laziness, parallel streams, and Optional.intermediate3 min
  7. 7Modern Java (11 → 25)The features that changed how Java is written since Java 8 — var, switch expressions, text blocks, records, sealed types, pattern matching, virtual threads, sequenced collections and more, release by release.intermediate2 min