A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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 main method
Program without a main method
Do Java program can run without main function()? If not please solve this problem
Having trouble with switch, case,break,
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014