Monday, July 5, 2010

Re: [Java] Java execution starts from

If you specify a starting class on the command line, it loads that class
and looks for a method with the signature:
public static void main (String args []) {
...
}

If you don't specify a startup class, it will load all the classes on
the classpath until it finds a main method. If you have many main
methods, you don't know which one you'll get. If you don't have any,
execution will fail.

-Java Guy


On 7/1/2010 8:17 AM, venkat raman wrote:
>
> Hi friends. I am new to this group. And this is my very first E-Mail
> to this group. I have a doubt regarding where java execution starts.
>
> Ok Thank YouVENKAT RAMAN
>
> [Non-text portions of this message have been removed]
>
>


------------------------------------

Visit http://aiaiai.com or http://jgame.org for more groups to join.
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELYYahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Java_Official/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Java_Official/join
(Yahoo! ID required)

<*> To change settings via email:
Java_Official-digest@yahoogroups.com
Java_Official-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Java_Official-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

No comments:

Post a Comment