Beginner
Java
Q3 / 100
What is the correct signature of the main method in Java?
Correct! Well done.
Incorrect.
The correct answer is C) public static void main(String[] args)
C
Correct Answer
public static void main(String[] args)
Explanation
The JVM looks for public static void main(String[] args) as the entry point. All modifiers — public, static, and the void return type — are required.
Progress
3/100