Ask Question
21 October, 04:50

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

+4
Answers (1)
  1. 21 October, 07:59
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers