Java Programming
Learn Java from your first class to object-oriented design and collections. Java runs on CodeMIRAI's server compiler, so examples behave exactly like they do on your own machine.
- 5 modules
- 23 lessons
- 105 runnable examples
- Beginner to advanced
Getting started
The structure of a Java program.
Control flow
Decisions and loops.
Methods
Organising code.
Object-oriented Java
Classes, objects and inheritance.
The Java library
Collections and exceptions.
Java quiz
Ten questions drawn at random from 68, with an explanation after every answer. Score 70% to pass; a perfect round earns a badge.
- Treasure Quest
Sail across eight islands. Each one asks a question; lose three hearts and it's back to port.
- Speed Run
Sixty seconds on the clock. Every right answer scores, and a wrong one costs five seconds.
- Code Puzzle
Real code from the lessons, shuffled line by line. Put it back in the right order.