What will happen if we declare don’t declare the main as static?
Answer Posted / hr@tgksolutions.com
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 the byte range?
What is data type example?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
Are true and false keywords?
Can we catch more than one exception in a single catch block?
How do you check if a string contains only numeric digits?
Where is the find and replace?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
When should I use singleton?
can used Protected Class outside Function.?
Can we inherit inner class?
What are the 6 functions?
What is application system?
Why we used vector class?
What is the disadvantage of synchronization?