0 votes
Why we are using public static void main?

1 Answer

0 votes
Java JVM will always look for specific method signature to start running an application, and that would be public static void main (String args[]). It is an Access Modifier, which defines who can access this Method. Public means that this Method will be accessible by any Class(If other Classes can access this Class.).
...