Java theorytheory 0/50 · 0%
Fundamentals · easy

20. Main Method

Entry point of a program.

The main method signature is public static void main(String[] args). It is where execution begins.

Check your understanding

  1. 1. What is 'String[] args'?

  2. 2. Can a program run without main?