Java Main()

Contributor
6Dec2011,10:21   #1
c_user's Avatar
Hi frds,
can there be more than one main() method in a single program.
please justify.
thanking you

Banned
10Dec2011,17:18   #2
guptasandeep's Avatar
yes there can be more than one main method in a single program but in different class.
Newbie Member
20Nov2012,18:27   #3
miteshaegis's Avatar
Hi,

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

thanks
Skilled contributor
23Nov2012,21:14   #4
ManzZup's Avatar
if you are asking about overloads yes