Command line arguments


 

Command line arguments

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

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

Ads