Multiple choice general knowledge science & technology

I can have multiple main methods in same class.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

You cannot have multiple main methods with the same signature in a class. While method overloading allows multiple main methods with different parameter lists, only main(String[] args) serves as the JVM entry point. This question implies identical signatures.