The name main is not a keyword in C or Java. From the compiler’s perspective, main() is a function. Just like any other function that you may define in your program, such as factorial(), sort() etc. … The compiler compiles the code for all functions in the same way.
For More Information Please Refer: https://www.quora.com/Is-main-a-keyword-in-C-and-Java