Skip to content

Glossary: Data Structures and Algorithms in Java

main method

Also written: main, args

The method `public static void main(String[] args)` where Java starts running a program. `args` holds any words typed after the program name.

Where the book teaches it

Related terms

static