What will happen if we declare don’t declare the main as static?
Answer Posted / nashiinformaticssolutions
Without utilizing static and without encountering any issues, we may declare the main method. However, the primary method will not be regarded as the program's or application's entry point.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to remove the trailing spaces from a string?
What is __ init __ functions?
How do I find and replace in word?
What is singleton class example?
Can we sort hashmap in java?
Where is the singleton class used?
What is java and their uses?
What is multithreading in java?
What is nan in java?
Can this keyword be used to refer static members?
What is arguments in java?
What is a parameter used for?
What is a treemap in java?
What is time complexity algorithm?
What is an array in java?