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 math floor in java?
How to change value in arraylist java?
What is nextint java?
What is a databasemetadata?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
Define array. Tell me about 2-D array.
Difference between string s= new string (); and string s = "abv";?
what invokes a threads run() method? : Java thread
Is main a function?
Write a java program to count the number of words present in a string?
Which is faster set or list in java?
How can we access some class in another class in java?
What package is math in java?
What is a char in java?
What is java autoboxing?