Q. Which of this statement is incorrect?

  • (A) Every class must contain a main() method.
  • (B) Applets do not require a main() method at all.
  • (C) There can be only one main() method in a program.
  • (D) main() method must be made public.
πŸ’¬ Discuss
βœ… Correct Answer: (A) Every class must contain a main() method.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
210
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate