Remix.run Logo
prmoustache a day ago

Not a java developer but why the void? Shouldn't your main function and program return an integer?

tadfisher a day ago | parent | next [-]

I believe that is a C-ism, where the C runtime calls your main() and exits the process with the return value. The Java equivalent is System.exit(int status).

gavinray a day ago | parent | prev [-]

The return type of a Java main is the JVM platform return type

Sending system signals is external to the JVM platform