Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 301 Bytes

File metadata and controls

12 lines (9 loc) · 301 Bytes

main

The main method works the same as any other method. Java just treats it special by choosing to call it in order to start your programs.

void main() {
    IO.println("Java will start here");
}

This means you can do anything in your main method you can do in any other method.