0

what is use of public Static void main

22nd Sep 2016, 3:24 PM
Ashish
2 Réponses
0
To run the java program JVM searches for main method to acces the method object of class is required if method is declared as static we can direct call the method and public keyword is for accesing the method publicaly......if you do not write the main method the program won't run,therefore it's necessary
22nd Sep 2016, 3:48 PM
Pratik Khairnar
Pratik Khairnar - avatar
0
public static void is configuration of main method ...
16th Dec 2016, 10:29 AM
Prashant Malviya
Prashant Malviya - avatar