File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why we pass String array in main method

 
Arun Maalik
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1249
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic