LearnFrenzy
Sign in Take a free test

Tutorial · 42 lessons

Java Tutorial

Learn Java from scratch with a free chapter-by-chapter course: OOP, collections, streams, exceptions and threads, with diagrams and verified code output.

  • Free
  • 16 chapters
  • 4h 1m of reading
Chapters
16
Lessons
42
Reading time
4h 1m
Level
All levels

Curriculum

What's inside this course

Read the chapters in order, or open any lesson. Completed lessons are ticked.

  1. 01 Getting Started3 lessons · 14m
    1. What Is Java? JDK, JRE and JVM 5 min
    2. Install the JDK and Set Up an IDE 4 min
    3. Your First Java Program 5 min
  2. 02 Variables and Data Types4 lessons · 22m
    1. Variables in Java 5 min
    2. Data Types: Primitives, Wrappers and String 6 min
    3. Type Casting and Conversion 5 min
    4. Input and Output with Scanner 6 min
  3. 03 Operators2 lessons · 12m
    1. Arithmetic, Assignment and Increment Operators 6 min
    2. Relational, Logical, Bitwise and Ternary Operators 6 min
  4. 04 Control Flow3 lessons · 18m
    1. if-else and switch 7 min
    2. Loops: for, while, do-while and for-each 6 min
    3. break, continue and Labels 5 min
  5. 05 Arrays2 lessons · 12m
    1. Arrays in Java 6 min
    2. 2D Arrays and Matrix Programs 6 min
  6. 06 Strings2 lessons · 13m
    1. Strings and the String Pool 7 min
    2. StringBuilder and String Programs 6 min
  7. 07 Methods3 lessons · 16m
    1. Defining and Calling Methods 5 min
    2. Method Overloading and Varargs 5 min
    3. Pass-by-Value and Recursion 6 min
  8. 08 Classes and Objects3 lessons · 18m
    1. Classes, Objects and Constructors 6 min
    2. static, final and Initialisation 6 min
    3. Encapsulation, Access Modifiers and Packages 6 min
  9. 09 Inheritance and Polymorphism3 lessons · 16m
    1. Inheritance and super 5 min
    2. Method Overriding and Polymorphism 5 min
    3. The Object Class: equals, hashCode, toString 6 min
  10. 10 Abstraction and Modern Types3 lessons · 15m
    1. Abstract Classes 5 min
    2. Interfaces 5 min
    3. Records, Enums and Sealed Classes 5 min
  11. 11 Exception Handling2 lessons · 12m
    1. try, catch, finally and the Exception Hierarchy 6 min
    2. Checked Exceptions, Custom Exceptions and try-with-resources 6 min
  12. 12 Collections Framework3 lessons · 18m
    1. Lists: ArrayList and LinkedList 6 min
    2. Sets and Maps: HashSet, HashMap, TreeMap 6 min
    3. Sorting, Comparable, Comparator and Queues 6 min
  13. 13 Generics, Lambdas and Streams3 lessons · 18m
    1. Generics 6 min
    2. Lambdas, Functional Interfaces and Method References 6 min
    3. The Stream API 6 min
  14. 14 Files and Date-Time2 lessons · 12m
    1. File Handling with java.nio.file 6 min
    2. Dates and Times with java.time 6 min
  15. 15 Multithreading and Concurrency2 lessons · 13m
    1. Threads, Race Conditions and synchronized 6 min
    2. ExecutorService, CompletableFuture and Virtual Threads 7 min
  16. 16 Project and Next Steps2 lessons · 12m
    1. Project: Library Management System 6 min
    2. Next Steps: Maven, JUnit and Spring Boot 6 min

Preparing with friends?

Share this page with your study group or placement batch.

Search LearnFrenzy

Esc

Quick links