The main method signature is public static void main(String[] args). It is where execution begins.
← Java theorytheory 0/50 · 0%
Fundamentals · easy
20. Main Method
Entry point of a program.
Check your understanding
1. What is 'String[] args'?
2. Can a program run without main?