Results 1 to 3 of 3
  1. #1
    annu is offline Member
    Join Date
    Jun 2011
    Posts
    1
    Rep Power
    0

    Default Query about JAVA Program Execution

    1) If a Program is executed,First the Library files will be loaded or the main method of the class will be loaded into memory?

    2)In "public static void main"-is it possible to give "String[1] args"?..Will the Program compile?

    (i.e)public static void main(String[1] args)
    Will the above statement compile ?

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default

    1. see that Java Classloader - Wikipedia, the free encyclopedia
    2. Can not you try yourself do it? :) Java has not offer pre declaration arguments, as like can C++.
    Skype: petrarsentev
    http://TrackStudio.com

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default

    Don't your text books provide enough information for you to complete your homework?

    db

Similar Threads

  1. Replies: 10
    Last Post: 11-29-2010, 02:02 PM
  2. Script execution from java
    By umapathy_sekar in forum Advanced Java
    Replies: 7
    Last Post: 09-17-2010, 05:34 PM
  3. Need help in java program execution...
    By sachinmittal in forum New To Java
    Replies: 6
    Last Post: 10-10-2008, 02:37 PM
  4. Replies: 25
    Last Post: 06-28-2008, 05:08 PM
  5. External Program execution problems
    By vital101 in forum Advanced Java
    Replies: 3
    Last Post: 10-30-2007, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •