Possible Duplicate:
Where and why JVM checks that the return type of entry method main(String args[]) is void and not anything else?
return type of main in java
After consulting these two questions What's the meaning of the return value of int main(), and how to display it? & What should main() return in C and C++?, I come up with another question:
Why Java program's main method should return void, but C/C++ program's main function should return int?