Courses / Start here / Java Programming

Free courseBeginnerSelf-paced

Java Programming

Write, test and demonstrate a Java command-line application that keeps its data in files and survives a restart.

  • Who it's for. Complete beginners who want Java as a first programming language.
  • Before you start. No prior programming knowledge. You need a computer and the ability to read English instructions. The course targets Java 25 LTS;
  • 56 to 91 hours of study with practice
  • 15 modules, 138 lessons
  • 4 guided projects and a final project

What you'll learn

  • Write, compile and run Java programs using variables, decisions, loops, arrays and methods.
  • Model data with classes, interfaces, collections and packages.
  • Handle errors with exceptions and read stack traces to find the failing line.
  • Save and reload data in files, CSV and JSON, and test the behaviour.
  • Deliver a tested, persistent command-line application with a trainer-reviewed demonstration.

Skills you'll gain

  • Java
  • Variables
  • Data Types
  • Operators
  • Strings
  • User Input
  • Conditions
  • Decision Making
  • Loops
  • Iterations
  • Arrays
  • Structured Data
  • Methods
  • Reusable Programming

Tools you'll use

  • Java 25 LTS
  • Exceptions and stack traces
  • Java collections and generics
  • CSV and JSON files

Details to know

  • Certificate on completionIssued after your final project is reviewed
  • 15 module checkpointsA quiz and a practical task close each module
  • Self-pacedStudy any time; your progress is saved
  • Beginner levelSee what you need before you start, above

How every lesson works

Each lesson follows the same four steps, so you always know what comes next.

  1. 01

    Watch & Learn

    A short animated video explains one idea at a time.

  2. 02

    Guided Practice

    Work through an example step by step and check the result.

  3. 03

    Quiz & Challenge

    Short questions check the idea has landed before you move on.

  4. 04

    Mini Project

    Build something useful from a project brief.

Learn at your own pace

This is a self-paced course. There are no live classes and no fixed timetable.

  • Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
  • Pick up where you left offYour progress is saved to your account.
  • Ask when you're stuckUse Ask Mentor inside the learning platform.

Your path in 4 phases

Each phase ends with something you have built and checked.

  1. 01

    Modules 1 to 5

    Write your first programs

    Set up Java, then work with variables, operators, strings, user input, conditions and loops.

    You build: Student Grade Calculator with boundary-checked grades and validation feedback (after module 4).

  2. 02

    Modules 6 to 8

    Structure data and code

    Store data in arrays, split work into reusable methods, and model it with classes and objects.

    You build: Personal Expense Tracker with totals and category summaries (after module 6) and an Inventory item model with invariants (after module 8).

  3. 03

    Modules 9 to 12

    Handle errors and persist data

    Use exceptions and debugging, collections and generics, interfaces and packages, then files, CSV and JSON.

    You build: Contact Book with searchable, persistent contacts (after module 10) and a File-Based Task Manager (after module 12).

  4. 04

    Modules 13 to 15

    Test, build and demonstrate

    Add tests and API work, build a real-world application, and complete the final project and skill assessment.

    You build: Final project with persistence, error handling and tests.

Full curriculum

15 modules and 138 lessons, 56 to 91 hours of study

01Introduction to Java & Programming8 lessons, 2 to 4 hours

Lessons

  • What Is Programming?
  • What Is Java?
  • JDK, Compiler and JVM
  • Your First Java Program
  • Understanding the Program Structure
  • Java Syntax and Semicolons
  • Comments and Readability
  • First Coding Challenge

After this module you can

  • Describe a program as precise ordered instructions and separate code from output.
  • Recognise Java source code and practical uses of the language.
  • Create a small ordered information display using supplied program scaffolding.
02Variables, Data Types & Operators10 lessons, 3 to 5 hours

Lessons

  • Understanding Variables
  • Creating and Naming Variables
  • Integers and Decimal Numbers
  • Characters, Text and Boolean Values
  • Constants with final
  • Type Conversion and Casting
  • Arithmetic Operators
  • Comparison Operators
  • Logical Operators
  • Assignment and Calculator Challenge

After this module you can

  • Declare a typed variable, assign a value and read it back.
  • Choose valid descriptive case-sensitive identifiers.
  • Update variables and build a calculation that responds to changing input values.
03Strings & User Input8 lessons, 3 to 4 hours

Lessons

  • Creating Strings and Escape Sequences
  • Joining Text and Values
  • String Length and Character Positions
  • Substrings and String Methods
  • Comparing Strings Correctly
  • Formatted Output
  • Reading Input with Scanner
  • Parsing Input and Personal Information Card

After this module you can

  • Represent quotes, newlines and backslashes in Java string literals.
  • Build messages and distinguish concatenation from numeric addition.
  • Convert well-formed numeric text and display a formatted personal information card.
04Conditions & Decision Making9 lessons, 3 to 5 hours

Lessons

  • Boolean Conditions
  • Making Decisions with if
  • Choosing with if and else
  • Multiple Choices with else if
  • Combining Conditions
  • Nested Decisions
  • Choosing with switch
  • Conditional Expressions
  • Build a Grade and Eligibility Checker

After this module you can

  • Predict the truth value of comparisons used in decisions.
  • Execute a block only when a condition is true.
  • Apply boundaries and alternatives to a practical grading feature.
05Loops & Iterations10 lessons, 3 to 6 hours

Lessons

  • Why Programs Repeat
  • Counting with a for Loop
  • Repeating with while
  • Running Once with do-while
  • Accumulators and Counters
  • Stopping with break
  • Skipping with continue
  • Nested Loops
  • Loop Boundaries and Infinite Loops
  • Build an Expense Summarizer

After this module you can

  • Separate a repeated action from changing data and the stopping rule.
  • Trace initialisation, condition, body and update in a for loop.
  • Aggregate a supplied series of expenses with a clear terminating rule.
06Arrays & Structured Data12 lessons, 4 to 7 hours

Lessons

  • Creating Arrays
  • Reading and Updating Array Elements
  • Array Length and Bounds
  • Traversing with Indexed Loops
  • Enhanced for Loops
  • Totals, Averages and Extremes
  • Searching an Array
  • Array References and Copies
  • Creating Two-Dimensional Arrays
  • Traversing Two-Dimensional Data
  • Sorting and Array Utilities
  • Build a Student Score Analyzer

After this module you can

  • Store a fixed-size ordered sequence using a Java array.
  • Use valid indices to retrieve and change elements.
  • Combine array traversal, search and summary calculations.
07Methods & Reusable Programming10 lessons, 4 to 6 hours

Lessons

  • Defining and Calling Methods
  • Parameters and Arguments
  • Returning Results
  • void Methods and Side Effects
  • Local Scope and Method Variables
  • Primitive Arguments and Pass-by-Value
  • Reference Arguments and Pass-by-Value
  • Method Overloading
  • Small Methods and Documentation
  • Build a Reusable Calculator

After this module you can

  • Extract repeated work into a named static method and call it.
  • Pass different typed inputs to a reusable method.
  • Design calculator methods with meaningful reusable return values.
08Object-Oriented Programming12 lessons, 4 to 7 hours

Lessons

  • Classes and Objects
  • Creating a Class and Instances
  • Fields and the this Keyword
  • Constructors and Initial State
  • Instance Methods
  • Encapsulation and Access Modifiers
  • Getters, Setters and Validation Rules
  • static and Instance Members
  • toString and Readable Objects
  • Inheritance and Method Overriding
  • Polymorphism and Composition
  • Build an Inventory Item Model

After this module you can

  • Distinguish a class definition from individual object instances.
  • Define a small class and create two objects with separate state.
  • Represent inventory items and stock-changing operations with invariant checks.
09Exceptions & Debugging8 lessons, 3 to 5 hours

Lessons

  • Compile-Time and Runtime Errors
  • Reading Stack Traces
  • Handling Errors with try and catch
  • Input Validation and Number Parsing
  • Throwing Helpful Exceptions
  • Checked Exceptions and throws
  • finally and try-with-resources
  • Build a Robust Grade Calculator

After this module you can

  • Distinguish compiler diagnostics, runtime exceptions and incorrect results.
  • Identify an exception type and the relevant application source line.
  • Combine boundary validation, exception handling and useful feedback.
10Collections & Generics10 lessons, 3 to 6 hours

Lessons

  • Why Collections?
  • ArrayList and Generic Types
  • Adding, Updating and Removing Items
  • Iterating and Searching Lists
  • Set and Unique Values
  • Map Keys and Values
  • Working with Object Collections
  • Sorting with Comparator
  • Collection Copies and Object References
  • Build a Contact Book

After this module you can

  • Compare fixed-size arrays with growable collections.
  • Create a typed list and understand wrapper types and autoboxing.
  • Maintain searchable unique contacts using suitable collections.
11Interfaces, Packages & Libraries8 lessons, 3 to 5 hours

Lessons

  • Interfaces and Contracts
  • Implementing an Interface
  • Abstract Classes and Shared Behaviour
  • Organising Code with Packages
  • Imports and Access Across Packages
  • Standard Library and JAR Dependencies
  • Maven Project and Dependency Basics
  • Build a Modular Utility Toolkit

After this module you can

  • Define behaviour a class promises to implement.
  • Use interchangeable implementations through an interface reference.
  • Organise cooperating classes and interfaces into a runnable small application.
12Files, CSV & JSON8 lessons, 3 to 5 hours

Lessons

  • Files and Paths
  • Reading Text with Files
  • Writing and Appending Text
  • Processing Lines and Missing Files
  • CSV Records and Parsing Boundaries
  • JSON and Object Mapping
  • Validating Stored Data
  • Build a File-Based Task Manager

After this module you can

  • Distinguish a path from file content and explain relative working-directory paths.
  • Read UTF-8 text with the java.nio.file APIs in the practice sandbox.
  • Persist task records and restore them on the next application run.
13Testing, APIs & Practical Automation10 lessons, 4 to 6 hours

Lessons

  • Writing Unit Tests
  • Assertions and Boundary Cases
  • Testing Exceptions and Object Behaviour
  • Debugging with Evidence
  • HTTP Requests and Responses
  • Calling an API with HttpClient
  • Timeouts and API Failures
  • Batch File Processing and Dry Runs
  • Logging and Configuration
  • Build an Expense Reporting Utility

After this module you can

  • Use a supplied JUnit setup to test a method independently.
  • Test normal, boundary and empty inputs with explicit expected results.
  • Combine validated input, aggregation, output and repeatable execution.
14Real-World Application Development8 lessons, 3 to 5 hours

Lessons

  • Decomposing Application Requirements
  • Designing Models and Responsibilities
  • Command-Line Menus and Application Flow
  • Build a Persistent Contact Book
  • Build a Personal Expense Tracker
  • Build an Inventory Management Application
  • Refactoring and Regression Tests
  • Packaging and Running Your Application

After this module you can

  • Convert a broad requirement into small testable features.
  • Assign data, validation, persistence and user interaction to clear components.
  • Package a reviewed runnable application and document setup, dependencies and limitations.
15Final Project & Skill Assessment7 lessons, 2 to 4 hours

Lessons

  • Choose and Scope Your Final Project
  • Plan the Application Architecture
  • Implement Core Features
  • Add Persistence and Error Handling
  • Test and Improve the Application
  • Prepare a Project Demonstration
  • Final Skills Review and Submission

After this module you can

  • Select an approved project with a comparable required feature set.
  • Separate models, services, storage and user interaction with clear contracts.
  • Submit source, run instructions, test evidence and a demonstration for trainer evaluation.

What you'll build

4 guided projects along the way, then a final project.

  • Student Grade Calculator with boundary-checked grades and validation feedback

    after module 4
  • Personal Expense Tracker with totals and category summaries

    after module 6
  • Inventory item model with invariants

    after module 8
  • File-Based Task Manager

    after module 12

Final project

Choose one: a contact manager with file persistence, an expense manager with category reports, or an inventory application with validated stock operations.

What you submit

Source with run instructions and dependency versions, functional checks for normal, invalid and boundary input, persistence evidence that data survives a restart, setup steps a reviewer can follow, and a live or recorded demonstration.

How it's reviewed

Trainer review against a rubric: appropriate use of objects, methods and collections; restart recovery; invalid input handled without crashing; meaningful tests; and a demonstration that explains design decisions.

Where you'll use it

  • Write a small command-line tool that validates input and keeps records in a CSV or JSON file.
  • Read a stack trace from a failing Java program and fix the method that caused it.

Roles that use these skills

  • Java developer (junior)
  • Software developer
  • Application support engineer

Earn the certificate by building, not watching

  1. Complete the lessons and pass each module checkpoint.
  2. Build your final project and demonstrate it.
  3. OUTLEARN reviews your project and issues your certificate. It is not issued automatically.

Frequently asked questions

Do I need to know programming already?

No. The course assumes no prior programming knowledge.

Which Java version is used?

Java 25 LTS.

What counts as finishing the project?

Your application must keep its data after a restart, handle invalid input, include functional checks and be demonstrated to a trainer.

Be first in when Java Programming opens

Email us and we will tell you as soon as enrolment opens.

Notify me when it opens
FreeOpens soon
Notify me