Can single eclipse project have , multiple main method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hari krishnan
    New Member
    • Jun 2011
    • 5

    Can single eclipse project have , multiple main method

    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...
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Maybe they put the main methods in those classes to test them. Many people use Junit tests instead these days to run tests.

    Comment

    Working...