11. | What if the main() method is declared as private? |
|
12. | What if the static modifier is removed from the signature of the main() method? |
|
13. | What if I write static public void instead of public static void? |
|
14. | What if I do not provide the String array as the argument to the method? |
|
15. | What is the first argument of the String array in main() method? |
|
16. | If I do not provide any arguments on the command line, then the String array of main() method will be empty or null? |
|
17. | How can one prove that the array is not null but empty using one line of code? |
|
18. | What environment variables do I need to set on my machine in order to be able to run Java programs? |
|
19. | Can an application have multiple classes having main() method? |
|
20. | Can I have multiple main() methods in the same class? |
|