Ask Question
16 July, 00:16

What is the purpose of main () in java?

+3
Answers (1)
  1. 16 July, 01:18
    0
    The purpose of it is to use and contribute all other static or nonstatic methods into this one method so it won't give a static error and it can input variables and is the main body of code.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What is the purpose of main () in java? ...” in 📘 Advanced Placement (AP) 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