The main() Method. A Java application is a public Java class with a main() method. The main() method is the entry point into the application. The signature of the method is always: public static void main(String args) Command-line arguments are passed through the args parameter, which is an array of String s.
For More Information Please Refer: https://www.protechtraining.com/content/java_fundamentals_tutorial-hello_world