All courses

Course

Learn Java

Write once, run anywhere. 10 units that take you from your first program to the language's advanced features.

Units
10
Topics
50
Questions
255
Challenges
25
1

Unit 1

Getting started

Programs, variables and operators

  1. Hello, Java
  2. Variables and types
  3. Arithmetic
  4. Casting
  5. Unit quiz and coding challenge
2

Unit 2

Strings

Text, comparison and formatting

  1. String methods
  2. Comparing strings
  3. Formatting text
  4. StringBuilder
  5. Unit quiz and coding challenge
3

Unit 3

Control flow

if, switch and loops

  1. if / else
  2. Boolean logic
  3. switch
  4. for loops
  5. while loops
  6. Loop control
  7. Unit quiz and coding challenge
4

Unit 4

Methods and arrays

Static methods, arrays and recursion

  1. Methods
  2. Overloading
  3. Pass by value
  4. Arrays
  5. Recursion
  6. Varargs
  7. Unit quiz and coding challenge
5

Unit 5

Objects

Classes, encapsulation and inheritance

  1. Classes and objects
  2. Encapsulation
  3. Static members
  4. Inheritance
  5. Unit quiz and coding challenge
6

Unit 6

Abstraction

Polymorphism, interfaces, records and enums

  1. Polymorphism
  2. Checking types
  3. Interfaces
  4. Abstract classes
  5. Records
  6. Enums
  7. Sealed types
  8. Unit quiz and coding challenge
7

Unit 7

Collections and generics

List, Map, Set and generic types

  1. Lists
  2. Maps
  3. Sets
  4. Generics
  5. Bounded types
  6. Unit quiz and coding challenge
8

Unit 8

Exceptions

Handling, throwing and cleaning up

  1. Catching exceptions
  2. Checked exceptions
  3. Throwing exceptions
  4. try-with-resources
  5. Unit quiz and coding challenge
9

Unit 9

Functional Java

Lambdas, streams and Optional

  1. Lambdas
  2. Streams
  3. Optional
  4. Unit quiz and coding challenge
10

Unit 10

Java in depth

Equality, concurrency and the ecosystem

  1. Object equality
  2. Ordering objects
  3. Threads
  4. Thread safety
  5. Packages
  6. Build tools
  7. The JVM
  8. Unit quiz and coding challenge

Finale

Course exam

100 items from the whole course: 50 questions with choices, 35 typed answers and 15 coding challenges that mix topics.