A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Java in General
Can a JAVA program run without a main method()?
Joined: Jan 04, 2007
Jul 11, 2007 02:58:00
Here is the piece of code which runs without a main function.
Help me in this problem
public void p()
System.out.println("hi it worked ");
EndNow e = new EndNow();
Joined: Nov 24, 2005
Jul 11, 2007 03:14:00
Please stop asking the same question in different forums. Continue the conversation there :
All roads lead to JavaRanch
I agree. Here's the link:
subject: Can a JAVA program run without a main method()?
Program without a main method
Having trouble with switch, case,break,
Program without main method
java program run external command on Unix
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015