How to execute one java program from another?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nike111
    New Member
    • Jun 2009
    • 15

    How to execute one java program from another?

    i have a package "first" with a main in one of the file. i have another package "second " with a main in it. now i want to execute these two packages from a third package named "third" ... how can i do????
  • Dheeraj Joshi
    Recognized Expert Top Contributor
    • Jul 2009
    • 1129

    #2
    Specify the package and if it has correct access specified, create object of it and use it.

    Regards
    Dheeraj Joshi

    Comment

    Working...