This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
can we run a program which content thread method without main method ? any examples ? Thanks in advanced...
posted 14 years ago
AnyApplet . . . . of course has no main(). But if you are talking applications - the JVM needs to know WHERE to start to decide which threads to invoke etc. therefore it NEEDS a main() to kick things off.
"JavaRanch, where the deer and the Certified play" - David O'Meara