tag:blogger.com,1999:blog-2964959029992147971.post8910526639001094878..comments2024-02-12T20:14:00.868+05:30Comments on InstanceOfJava: Top 10 Java Interview Questions On main() Methodsaideshhttp://www.blogger.com/profile/03671387577197113199noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2964959029992147971.post-67228451722637055252016-08-30T13:09:42.428+05:302016-08-30T13:09:42.428+05:30The reason for the main method having void as retu...The reason for the main method having void as return type is that once main finishes, it doesn't necessarily mean that the entire program finished. If main spawns new threads, then these threads can keep program running. The return type of main doesn't make much sense at this point.Anonymoushttps://www.blogger.com/profile/14203868784952829179noreply@blogger.comtag:blogger.com,1999:blog-2964959029992147971.post-46720471295663625402016-08-13T16:21:52.978+05:302016-08-13T16:21:52.978+05:30Why main method is not suppose to return anything ...Why main method is not suppose to return anything if we do what happening with JVM??please explain in detail. Anonymoushttps://www.blogger.com/profile/11156874009605215124noreply@blogger.com