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
Posted on: July 3, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles