Home » JAVA Programming » Object & Classes » Question
  1. Which of these statement is incorrect?
    1. Applets do not require a main() method at all
    2. main() method must be made public
    3. Every class must contain a main() method
    4. There can be only one main() method in a program
    5. None of these
Correct Option: C

Every class does not need to have a main() method, there can be only one main() method which is made public.



Your comments will be displayed only after manual approval.