Computer Science for IGCSE & O level - Programming (Section 2 - No. 44)

What is the purpose of the 'main' method in a Java program?
To define the program's variables.
To start the program's execution.
To handle user input.
To store the program's results.

Explanation

The 'main' method is the entry point of the program.

Comments (0)

Advertisement