What will happen if we declare don’t declare the main as static?
Answer Posted / glibwaresoftsolutions
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 contract between hashcode and equal method?
Explain OOPs concept.
What is method overloading in JAVA? Why is it not present in C ?
Explain a situation where finally block will not be executed?
When can you say a graph to be a tree?
When do we use synchronized methods in java?
What is empty string literal in java?
Is an array a vector?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What do you mean by ternary operator in java?
What is meant by interface?
Explain about fail safe iterators in java?
What are the three parts of a lambda expression? What is the type of lambda expression?
Define reflection.
What is module with example?