Share on Google+Share on Google+

Command line arguments

Ads
In this SCJP topic you will learn about command line arguments.

Java application can accept any number of arguments directly from the command line. The user can enter command-line arguments when invoking the application. When running the java program from java command, the arguments are provided after the name of the class separated by space.

For more details about access modifiers click on the following links

Command Line Arguments

Advertisements

Posted on: July 3, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.