K
Kislay
In c/c++ the main() function returns a value to indicate whether its
termination was normal or abnormal . ? Is there no such need in
Java ? If there is , then why is the main() method void ? How would
the OS know that exit was normal or abnormal ?
termination was normal or abnormal . ? Is there no such need in
Java ? If there is , then why is the main() method void ? How would
the OS know that exit was normal or abnormal ?