Skip to main content

From your first program to job-ready

Java Programming

Learn Java step by step, from your first program to data structures and algorithms, Spring Boot backends and technical interviews. Short lessons in simple English, with quizzes, practice and mini projects.

Outcomes

What you will be able to do

  • Write, run and debug Java programs from scratch: variables, conditions, loops, methods, arrays and strings
  • Model real things with classes and objects, and choose the right collection with type-safe generics
  • Solve coding-round problems with the main patterns, data structures and algorithms
  • Design databases in SQL and build REST APIs with Spring Boot, Spring Data JPA and Spring Security
  • Test, debug and package your code, and ship it with Docker and a simple CI pipeline
  • Build real backend projects on GitHub and answer Java technical interview questions with confidence

Where to start

Pick your starting point

  • School students and beginners

    New to code or studying for AP Computer Science A, GCSE, A-level or IGCSE? Start at Learn Java and move stage by stage, with a 1:1 tutor if you want help before an exam.

    Start at Learn Java
  • University students

    Use Learn Java alongside your course, then Master DSA for assignments, internships and coding interviews.

    Start at Learn Java
  • Job seekers and career switchers

    Finish Learn Java, then focus on Master DSA and Get Job Ready. Add Master Java topics as interviews ask for them.

    Start at Learn Java
  • Developers moving to Java backend

    If you already know Java and DSA, go straight to Build Applications and Work Like a Developer.

    Start at Build Applications

Syllabus

Start learning now

Open a section to see its modules and lessons.

  1. Section 01Java BasicsFoundational programming from zero: syntax, variables, operators, conditionals, loops, methods, arrays, strings, and exceptions.12 modules · 100 lessons
  2. Section 2.1Developer SetupThe command line every developer uses: moving through folders, working with files, PATH and environment variables, redirection and a first look at Linux.1 module · 5 lessons
  3. Section 2.2–2.4Git & GitHubTrack your work with Git and share it on GitHub: commits, history and undo, branches and merge conflicts, remotes, README files, pull requests with code review, forks and issues.3 modules · 16 lessons
  4. Section 2.5Git in PracticeThree hands-on projects that turn your Basics programs into a GitHub portfolio, built and delivered the way teams work.1 module · 3 lessons
  5. Section 03Java OOP (Object-Oriented Programming)Master object-oriented programming in Java with clean concept lessons and end-of-module GitHub portfolio projects.14 modules · 117 lessons
  6. Section 04Java CollectionsGenerics and the Collections Framework: lists, sets, maps, queues and sorting, how they work inside, and how to choose the right one, with GitHub-ready projects.9 modules · 59 lessons
  7. Section 05Problem Solving & Coding PatternsA repeatable way to solve problems: complexity, recursion and the common patterns behind most coding questions.12 modules · 100 lessons
  8. Section 06Data Structures & Algorithms in JavaLinked lists, stacks, queues, trees, heaps, tries, graphs, sorting, greedy algorithms and dynamic programming, built and used in Java.17 modules · 153 lessons
  9. Section 07Coding ChallengesCoding problems for every topic taught in Stage 2, in the same order and graded easy, medium and hard, with test cases, step-by-step hints and model solutions.26 modules · 234 lessons
  10. Section 08Streams & Modern JavaThe Stream API, Optional, method references, the Date and Time API and other modern Java features used in real code and interviews.12 modules · 95 lessons
  11. Section 09Files, I/O & Robust Error HandlingRead and write files with java.nio, handle resources safely and design error handling that real applications can rely on.9 modules · 75 lessons
  12. Section 10Multithreading & ConcurrencyThreads, synchronisation, executors, concurrent collections and CompletableFuture, with the classic concurrency bugs and their fixes.11 modules · 84 lessons
  13. Section 11JVM Internals & Memory ManagementHow the JVM loads and runs your code, how memory is organised, how garbage collection works and how to find memory problems.10 modules · 74 lessons
  14. Section 12SQL & Database DesignDesign tables in MySQL, write SQL from simple queries to joins, window functions and reports, and understand indexes and transactions, then see the same ideas in PostgreSQL.12 modules · 100 lessons
  15. Section 13JDBC & Database ConnectivitySet up Maven projects and connect Java to a database with JDBC: queries, prepared statements, transactions and the DAO pattern.9 modules · 63 lessons
  16. Section 14Web Fundamentals, HTTP & REST APIsHow the web works: HTTP, JSON and the rules of good REST API design, tested with real tools.9 modules · 68 lessons
  17. Section 15Spring Framework & Spring BootDependency injection, Spring Boot applications, REST controllers, validation, error handling and configuration.10 modules · 75 lessons
  18. Section 16Spring Data JPA & HibernateMap Java objects to tables, model relationships, write repository queries and avoid the common performance traps.10 modules · 72 lessons
  19. Section 17Spring Security & AuthenticationProtect your APIs: password hashing, sign-in with JWT, roles and permissions, and the common security mistakes to avoid.9 modules · 59 lessons
  20. Section 18Testing, Debugging & Code QualityUnit tests with JUnit, mocks with Mockito, testing Spring applications, using the debugger and keeping code clean.9 modules · 68 lessons
  21. Section 19Design Patterns & SOLID in PracticeThe design patterns used in real Java code and in interviews, applied together with SOLID principles.8 modules · 63 lessons
  22. Section 20Docker, Deployment & CI/CD BasicsPackage your application with Docker, run it with a database, automate builds and tests, and deploy it online.9 modules · 64 lessons
  23. Section 21Backend Architecture & System Design FundamentalsLayered architecture, caching, scaling and the system design basics asked in entry-level interviews.10 modules · 65 lessons
  24. Section 22Real-World Java ProjectsBuild complete backend projects from requirements to deployment, ending with a capstone for your portfolio.1 module · 5 lessons
  25. Section 23Java Technical Interview PreparationThe Java, OOP, collections, DSA and backend questions interviewers ask, with clear answers, follow-ups and debugging rounds.11 modules · 71 lessons
  26. Section 24Placement Assessments & Career PreparationAptitude and reasoning, core CS subjects (OS, DBMS, computer networks), resume, HR interviews and communication.8 modules · 61 lessons