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
Difference between operator overloading and function overloading
What is %02d?
What is api data?
How to make object serializable in java?
What is singleton service?
What about interthread communication and how it takes place in java?
What is a nested class?
Explain the difference between abstract class and interface in java?
What is the differences between c++ and java? Explain
What are data types in oop?
What will happen if static modifier is removed from the signature of the main method?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What's the purpose of static methods and static variables?
What is the association?
Can we convert list to set in java?