What is command-line Argument?

  • Java allows you to pass arguments to an application when the application is launched.
  • The application can accept any number of arguments from the command-line.
  • This allows the user to specify configuration information.
  • The user enters command-line arguments when invoking the application and specifies them after the name of the class to run.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.