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 are multiple inheritances?
What is the default size of load factor in hashing based collection?
Explain the difference between jdk, jre, and jvm?
What are different types of multitasking?
What does @override mean?
What are the types of strings?
What is the difference between class forname and new?
What is the significance of continue jump statement? Explain with an example.
how does multithreading take place on a computer with a single cpu? : Java thread
How are variables stored in memory?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is a flag and how does it work?
How do you sort in java?
What is constructor and virtual function? Can we call a virtual function in a constructor?
Can you create an object of an abstract class?