By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,654 Members | 1,517 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,654 IT Pros & Developers. It's quick & easy.

Can single eclipse project have , multiple main method

P: 5
my project has 745 source file, there i can find 35 main in different files. main method only for entry point then why they have 35 entry point . i am confusing . can any one please explain...
Mar 9 '12 #1
Share this Question
Share on Google+
1 Reply

P: 13,264
Maybe they put the main methods in those classes to test them. Many people use Junit tests instead these days to run tests.
Mar 9 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.