Is Main a keyword in Java?

Main is not a keyword in Java. When you try to execute a java code using “java” command, the runtime will load the public class that you are trying to execute and then call the main method defined in the class. The runtime knows that “main” is the method to look for as it is designed that way.

For More Information Please Refer: https://www.quora.com/Is-main-a-keyword-in-C-and-Java