CodeMIRAI
0 XP

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
01

Getting started

The structure of a Java program.

  1. Introduction to Java
  2. Your first program
  3. Variables and types
  4. Operators
  5. Strings
  6. Reading input with Scanner
02

Control flow

Decisions and loops.

  1. if and else
  2. switch
  3. Loops
  4. Arrays
03

Methods

Organising code.

  1. Methods
  2. Method overloading
  3. Recursion
04

Object-oriented Java

Classes, objects and inheritance.

  1. Classes and objects
  2. Constructors
  3. Encapsulation
  4. Inheritance
  5. Polymorphism
  6. Abstract classes and interfaces
05

The Java library

Collections and exceptions.

  1. ArrayList
  2. HashMap
  3. Exceptions
  4. Lambdas and streams