Java Tutorial
Learn modern Java 25 step by step, from your first program to streams, virtual threads, JDBC and testing.
32 free lessons
Beginner to Advanced
Covers Java 25 LTS
Start the first lesson Continue where you left off
Getting Started
- 1Java Introduction
- 2Install the JDK & Set Up
- 3Your First Java Program
- 4Syntax & Comments
- 5Variables & Data Types
- 6Operators & Math
- 7Strings & Text Blocks
- 8User Input
Control Flow
Object-Oriented Java
- 14Classes, Objects & static
- 15Constructors
- 16Encapsulation & Packages
- 17Inheritance & Polymorphism
- 18Abstract Classes & Interfaces
- 19Records & Enums
- 20Sealed Classes & Pattern Matching
Core Libraries
- 21Exceptions
- 22Collections & Generics
- 23Lambdas & Functional Interfaces
- 24Streams & Optional
- 25File I/O with java.nio.file
- 26Date & Time
Advanced Java
Learn Java with a mentor
Free lessons get you started. Our Java, C & C++ Programming training adds real projects and code reviews from working developers.
- Project-based learning
- Mentor code reviews
- Free counselling call
