Ask Question
18 November, 15:42

All java classes must contain a main method which is the first method executed when the java class is called upon.

+1
Answers (1)
  1. 18 November, 19:12
    0
    This is false. Not all java classes need a main method. You can create you own class below the class with the main method and put your own user-created methods into it. Classes without a main method can be in its own separate class even.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “All java classes must contain a main method which is the first method executed when the java class is called upon. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers