Java Tutorial for Beginners: Java Core Lessons by Module

26 modules — from your first program to OOP, lambdas and the Stream API. 5–15 minute lessons, practical tasks and tests to check yourself.

Start Course

Free · Without registration

Course Description

This page lists all 183 lessons of the Java Core course in the order to take them: from installing the JDK and writing your first program to OOP, interfaces, lambdas, the Stream API and exception handling. It works as a Java tutorial for complete beginners: no programming experience is needed.

How to study:

  1. Read the lesson and run the code examples yourself.
  2. Answer the test questions on the topic to see what needs another look.
  3. Solve the module tasks: the course has 161 practical tasks, many with a ready-made solution to compare with.

Check your knowledge across the course with the Java tests, and find every exercise on the practical Java tasks page. A short overview of the course, its format and FAQ is on the free Java course for beginners page.

Course Details

  • 👥20,000+ learners
  • 🌐English
  • 🗂26 modules
  • 📚183 lessons
  • ✅161 practical tasks
  • 📝1,250 test questions
  • ⏱~104 hours of study

Course syllabus: all lessons by module

2. Run Your First Java App

12 lessons · 2 practical tasks

  1. Step-by-Step Guide: How to Install and Set Up JDK in 2026›
  2. How to Write Your First Java Application›
  3. Command Prompt (CMD) Commands›
  4. Compile and Run Java Applications from the Command Line – Step-by-Step›
All lessons in this module (12)
  1. Understanding Java Packages: A Comprehensive Guide with Examples›
  2. Java Compilation: -sourcepath and -classpath Explained›
  3. How to Create and Use JAR Files in Java›
  4. Command-Line Arguments in Java: How to Use Them›
  5. Using a Batch File to Compile and Run Java Programs›
  6. How to Install IntelliJ IDEA (Free Community Edition)›
  7. Creating a Project in IntelliJ IDEA - A Beginner's Guide›
  8. Java Developer Tools: IDE, JDK, Git, Maven, SQL›
Module tasks ›

3. Java Syntax

8 lessons · 6 practical tasks

  1. Java Language Lexicon: Whitespace, Identifiers, Keywords & Comments›
  2. Best Practices for Naming Java Identifiers: Classes, Methods, Constants & Packages›
  3. Primitive Types and Literals in Java›
  4. Java Methods: Syntax, Parameters, Return Types, and Best Practices›
All lessons in this module (8)
  1. Java Variables: Declaration, Initialization and Scope›
  2. Sign-Magnitude, One's Complement and Two's Complement›
  3. Primitive Type Conversion in Java: Implicit and Explicit Type Casting›
  4. Java User Input: Reading Data from Keyboard with System.in and Scanner›
Module tasks ›

4. Java Operations

9 lessons · 6 practical tasks

  1. Learn Java Arithmetic Operators and Compound Assignment with Examples›
  2. Understanding Java Increment and Decrement Operators›
  3. Understanding Java Comparison Operators: Equal, Greater, Less and More›
  4. Logical Operators in Java›
All lessons in this module (9)
  1. Ternary Operator in Java – How It Works and When to Use It›
  2. The Assignment Operator (=) in Java›
  3. Java Operator Precedence Table and Examples›
  4. Java String Concatenation: Rules, Examples, and Unicode Encoding›
  5. Bitwise and Bit Shift Operators in Java›
Module tasks ›

7. OOP Basics

19 lessons · 16 practical tasks

  1. Procedural vs Object-Oriented Programming›
  2. Object-Oriented Programming (OOP) Concepts in Java›
  3. Classes and Objects in Java›
  4. Java Constructor Types: Default and Parameterized›
All lessons in this module (19)
  1. The this Keyword in Java›
  2. Method and Constructor Overloading in Java›
  3. Java Memory Structure: Stack and Heap›
  4. Passing Objects to Methods in Java›
  5. Java Varargs: Methods with Variable-Length Arguments›
  6. Recursion in Java Explained›
  7. Garbage Collection›
  8. Java Inheritance and the extends Keyword›
  9. The super Keyword in Java›
  10. Access Modifiers in Java›
  11. JavaBeans Naming Conventions: Getters, Setters and boolean is›
  12. Method Overloading vs Overriding in Java›
  13. Abstract Classes and Methods in Java›
  14. The final Keyword in Java›
  15. The native Keyword in Java›
Module tasks ›

17. Collections

20 lessons · 10 practical tasks

  1. Java Collections Framework: Collection Hierarchy and Interfaces›
  2. Data Structures in Java: List, Stack, Queue and Set›
  3. Collection Interface in Java: Methods and Contract›
  4. List Interface and ArrayList in Java›
All lessons in this module (20)
  1. Set Interface in Java: HashSet and LinkedHashSet›
  2. Comparable and Comparator Interfaces in Java›
  3. SortedSet, NavigableSet and TreeSet in Java›
  4. Queue and Deque Interfaces in Java›
  5. ArrayDeque Class in Java›
  6. LinkedList Class in Java›
  7. PriorityQueue Class in Java›
  8. Iterator and ListIterator in Java›
  9. Java Map Interface: Methods, Map.Entry and Examples›
  10. HashMap in Java: How It Works Internally›
  11. TreeMap, SortedMap and NavigableMap in Java›
  12. LinkedHashMap in Java: How It Works and LRU Cache›
  13. Collections Class in Java: Methods and Examples›
  14. Backed Collections and Array-Backed Lists in Java›
  15. Legacy Classes in Java: Vector, Stack, Hashtable and Enumeration›
  16. What Is PECS in Java? Producer Extends, Consumer Super›
Module tasks ›

20. Exceptions

8 lessons · 2 practical tasks

  1. Java Exceptions and Exception Handling›
  2. Java Exception Hierarchy: Throwable, Error, Exception›
  3. How to Create a Custom Exception in Java›
  4. Java Try Catch Finally: Exception Handling with Examples›
All lessons in this module (8)
  1. throw and throws in Java: Difference and Examples›
  2. Exception Handling with Method Overriding and Constructors in Java›
  3. Common Exceptions in Java: Causes and How to Fix Them›
  4. Exception Handling in Java: Best Practices and Common Mistakes›
Module tasks ›

21. File Navigation and I/O

8 lessons · 6 practical tasks

  1. Java I/O Streams: Input, Output and Wrapping (Decorator) Explained›
  2. Try-with-resources in Java›
  3. Java File Class: Working with Files and Directories›
  4. Java Byte Streams: InputStream and OutputStream›
All lessons in this module (8)
  1. Java Character Streams: Reader and Writer›
  2. Java Standard Streams: System.in, System.out and System.err›
  3. Java Scanner Class: Reading Files, Strings and Parsing Tokens›
  4. Java NIO.2: Working with Files Using Path and Files›
Module tasks ›

26. Maven

11 lessons · 8 practical tasks

  1. What Is Maven? Purpose, Advantages and Disadvantages›
  2. How to Install Maven on Windows, Linux and macOS›
  3. How to Create a Maven Project: Archetype, Directory Layout and IntelliJ IDEA›
  4. Maven pom.xml Explained: Structure, GAV, Properties, Packaging and Build›
All lessons in this module (11)
  1. Maven Dependencies: Scope, Transitive Dependencies, Version Conflicts and BOM›
  2. Maven Build Lifecycle: Phases, Plugin Goals and Build Commands›
  3. Maven Plugins: Declaration, Configuration, Executions and Common Plugins›
  4. Maven Repository Types: Local (.m2), Maven Central and Corporate›
  5. Maven Multi-Module Project: Inheritance, Aggregation and Reactor›
  6. Maven Profiles: Declaration, Activation, -P and activeByDefault›
  7. Maven Commands Cheat Sheet: mvn Examples and Common Errors›
Module tasks ›

Comments

Please log in or register to have a possibility to add comment.