Where can a Java program be invoked?
<p>Suppose you add a "main" argument to the Java program you use. Then is the use for the Java program restricted to the Console in your IDE? In other words, can you only "use" that program   on the IDE?</p>

<p>Now suppose you DONT have a "main" argument in your Java program, like this: <a href="http://answers.yahoo.com/question/index?qid=20100727161815AAZAd9p" rel="nofollow">http://answers.yahoo.com/question/index?qid=20100727161815AAZAd9p</a></p>

<p>It doesnt DO anything on the IDE (like when you press "run", it says you need a "main" argument). So then where can you even use that program? </p>
