Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forumdisplay.php?f=21)
-   -   Java Main() (http://www.go4expert.com/showthread.php?t=27291)

c_user 6Dec2011 10:21

Java Main()
 
Hi frds,
can there be more than one main() method in a single program.
please justify.
thanking you
:thinking:

guptasandeep 10Dec2011 17:18

Re: Java Main()
 
yes there can be more than one main method in a single program but in different class.

miteshaegis 20Nov2012 18:27

Re: Java Main()
 
Hi,

You can use more than one main method in different class.

thanks

ManzZup 23Nov2012 21:14

Re: Java Main()
 
if you are asking about overloads yes


All times are GMT +5.5. The time now is 00:33.