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 increment in java?
Explain throw keyword in java?
how are methods defined?
Define inheritance?
What happens if an exception is throws from an object's destructor?
What is a method declaration?
What is space character in java?
How do you invoke a method?
What is the difference between length and length () in java?
Why is singleton class used?
Can a class be declared as static?
What is hashtable and explain features of hashtable?
Are arrays dynamic in java?
What are the object and class classes used for?
Can a method inside a interface be declared as final?