What will happen if we declare don’t declare the main as static?
Answer Posted / hr@tgksolutions.com
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
When is the finally clause of a try-catch-finally statement executed?
What does exp mean in math?
What is threaded programming and when is it used? : Java thread
Can we overload final method in java?
What’s the difference between unit, integration and functional testing?
Why do we need data serialization?
What is singleton service?
What are JVM.JRE, J2EE, JNI?
What are the advantages of unicode?
Which package is always imported by default?
What is string immutability?
What is equlas() and hashcode() contract in java? Where does it used?
What is a static method in java?
Tell me about your ability to work under pressure
How does system arraycopy work in java?