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

Q

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

✍: Guest

A
main method wont return anything to JVM so its return type is void.

2015-07-01, 507👍, 0💬