This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes why we pass String array in main method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "why we pass String array in main method" Watch "why we pass String array in main method" New topic
Author

why we pass String array in main method

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Dear sir i would like to know one thing that in java main method why we pass String array like

public static void main(String[] args){}

Here why we pass String array as a argument in main method() please tell me.

with regard

Arun kumar maalik
Shaan Shar
Ranch Hand

Joined: Dec 27, 2005
Posts: 1249

Originally posted by Arun Maalik:
Dear sir i would like to know one thing that in java main method why we pass String array like

public static void main(String[] args){}

Here why we pass String array as a argument in main method() please tell me.

with regard

Arun kumar maalik


Although it's depends upon completely on Designer of JAVA.

But you must check out this Why main() method in JAVA

Hope this must helps you out...


The Best way to predict your future is to create it - Every great individual common man
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why we pass String array in main method
 
Similar Threads
java Main()
array size 0
Passing String array as argument to main() method
Main methods
main method signature..