DEV Community

Pavitra Aravind
Pavitra Aravind

Posted on

Command-line Arguments in java...

• Command line arguments means a way to pass parameters to the main function while executing the program.

• A Java application can accept any number of arguments from the command-line.

• Command-line arguments allow the user to affect the operation of an application.

• The user enters command-line arguments when invoking the application and specifies them after the name of the class to run.

Top comments (0)