Programming & Web DevelopmentBeginner

Java Programming Masterclass

Core Java, OOP, collections, streams and a Spring Boot taster.

Taught by Anisha Rai · Senior Software Engineer

What you'll learn

  • Install the JDK and compile, run and debug Java programs from the terminal and an IDE
  • Write programs using variables, types, conditionals, loops, methods, arrays and strings
  • Design classes and records with encapsulation, inheritance, interfaces and polymorphism
  • Store and process data with List, Set and Map, generics and Comparator-based sorting
  • Handle errors with exceptions and transform data with lambdas and the Streams API
  • Build and test a project with Maven and create a simple REST endpoint in Spring Boot

About this course

Java runs banking systems, Android's foundations, large e-commerce back ends and a huge share of university computer science courses, and it remains one of the most requested languages in job listings. This Java programming course takes complete beginners from their first line of code to a working REST API. You will install the JDK, learn variables, types, control flow, methods, arrays and strings, then master object-oriented programming with classes, encapsulation, inheritance, interfaces, records and polymorphism. From there you will use the Collections Framework and generics, handle exceptions properly, and write modern, readable code with lambdas and the Streams API. The final lesson introduces Maven builds and gives you a taste of Spring Boot by building a small web endpoint. No prior programming experience is needed, only a computer you can install software on and the patience to type every example yourself. Everything uses Java 25, the current long-term support release.

Course content

8 lessons
  1. 1Getting Started: The JDK, Your First Program and How Java RunsInstall Java, write and run your first program, and understand the compile-then-run model.Preview
  2. 2Variables, Types, Operators and Control FlowStore values in typed variables, make decisions with if and switch, and repeat work with loops.
  3. 3Methods, Arrays and StringsBreak programs into reusable methods, store sequences in arrays and work confidently with text.
  4. 4Object-Oriented Programming: Classes, Objects and RecordsModel real things as classes with fields, constructors and methods, and protect state with encapsulation.
  5. 5Inheritance, Interfaces and PolymorphismShare behaviour through inheritance and interfaces, and write code that works with many types.
  6. 6Collections and GenericsStore and organise data with List, Set and Map, type-safe generics and custom sorting.
  7. 7Exceptions, Lambdas and the Streams APIHandle failure gracefully, pass behaviour as values and process collections in clear pipelines.
  8. 8Maven Builds and a Spring Boot TasterManage dependencies and builds with Maven, then create your first Spring Boot REST endpoint.