main method is a standard method used by JVM to execute any java program(Java SE). - Why main method is static?

Q

main method is a standard method used by JVM to execute any java program(Java SE). - Why main method is static?

✍: Guest

A
To execute main method without creating object then the main method oshould be static so that JVM will call main method by using class name itself.

2015-07-01, 548👍, 0💬