3 ms·
Not a java developer but why the void? Shouldn't your main function and program return an integer?
by prmoustache 11mo ago
Not a java developer but why the void? Shouldn't your main function and program return an integer?
- gavinray 11mo agoThe return type of a Java main is the JVM platform return type Sending system signals is external to the JVM platform
- tadfisher 11mo agoI 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).