@iteducationcentre
Explain public static void main in Java (String args[]).
Main() is the entry point for any Java application in Java. Always use the form public static void main (String[] args).
The public access modifier indicates who has access to this method. If this Method is public, it will be accessible to any Class. It is a Java keyword that signifies that it is class-based. Main() is marked static in Java so that it may be used without first creating a Class object. Because the JVM runs main() before generating any objects, and only static methods may be accessed directly via the class, if main is not declared static, the compiler will generate an error. for more info visit: https://www.iteducationcentre.....com/java-training-cl