What if the static modifier is removed from the signature of the main method?
Answer / Dhiraj Singh
If the static modifier is removed from the signature of the main method, you will not be able to create an instance of your class and run it directly as a standalone Java program.
| Is This Answer Correct ? | 0 Yes | 0 No |
how can u cal servlet from java?
Difference Between getRequest and PostRequest?
What state a thread enters, When it blocks on I/O?
What is a modular application? What does module-relative mean?
How many layers are there in RMI and what are they?
Connection Pooling with different type of databases?
How many requests can a server fetch at a time?
JMS based on what technology?
How a component can be placed on Windows?
What is permgen or permanent generation?
What is meant by multi-threading?
How is a java object message delivered to a non-java client?