Java
Learn modern Java from your first program to production services — classes, records, collections, streams, exceptions, Maven and JUnit, concurrency and virtual threads, JDBC, Spring Boot and the JVM.
Start from zero with Java: install the JDK, run your first program, and learn the fundamentals — types, decisions, loops, methods, arrays, strings and your first classes. All examples run with Java 21 using a single `java File.java` command.
You will be able to
- Install the JDK and compile and run Java programs
- Use primitive types, String, var and type conversion correctly
- Write conditions, switch expressions, loops and methods
- Work with arrays and strings, and define simple classes
Write modern, idiomatic Java: design with interfaces and polymorphism, model data with records, enums and sealed types, master the Collections framework and generics, handle exceptions properly, process data with lambdas and streams, and work with files.
You will be able to
- Design with inheritance, abstract classes and interfaces
- Model data with records, enums, sealed interfaces and pattern matching
- Use List, Map, Set and generics confidently
- Handle exceptions, write stream pipelines and read and write files
Build and run professional Java systems: Maven projects with JUnit tests, concurrency with executors, CompletableFuture and virtual threads, thread safety, HTTP clients and servers, PostgreSQL with JDBC, REST APIs with Spring Boot, and packaging and tuning the JVM for production.
You will be able to
- Structure Maven projects and test them with JUnit
- Write correct concurrent code with executors, CompletableFuture and virtual threads
- Call and serve HTTP, and use PostgreSQL safely through JDBC
- Build a validated REST API with Spring Boot and ship it to production