This week's giveaway is in the
We're giving away four copies of
video training course and have Ken Kousen on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
How to Call main() method another class from one class.
Joined: Oct 02, 2008
Jun 25, 2009 05:04:44
can any one tell me how to call main() of One class from another class
Joined: Feb 24, 2006
Jun 25, 2009 05:45:34
AnotherClass.main() assuming main() is public static. This post needs to be in
in General (Beginner)
SCJP 6 articles
SCJP 5/6 mock exams
More SCJP Mocks
Joined: Oct 27, 2005
Jun 25, 2009 05:59:22
Moving to the beginner forum.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Joined: Sep 28, 2004
Jun 25, 2009 06:13:41
And assuming this main() method is the method that can be called from the command line, you also need to create a
array, as that methods takes a string array -- and fill in the params of course.
Java Threads, 3rd Edition
Jini in a Nutshell
Java Gems (contributor)
subject: How to Call main() method another class from one class.
Overloading wih static methods
How to call one class main method from another class main method
How to call another class when there is no source code?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015