Advertisment

How to pass command line argument in a Java ?

author-image
CIOL Bureau
Updated On
New Update

Your 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. For example, a program might allow the user to specify verbose mode--that is, specify that the application display a lot of trace information--with the command line argument -verbose

Click here for more...!

tech-news