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
What is finalize() function in java?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Why is it important to initialize a variable?
Which class contains a method: cloneable or object?
What are the benefits of operations?
What is overloading and overriding in java?
What is the point of polymorphism java?
Is java 1.7 the same as java 7?
When should I use a singleton?
What is the difference between a static and a non-static inner class in java programming?
What are the advantages of exception handling in java?
Is java a super set of javascript?
What is the use of generics? When was it added to the Java development Kit?
what is interface in java? Explain
What is contractor means and methods?