Command line argument in java programming
A command line argument is information that is given on the command line of its specific name during program startup. The available command line arguments inside a Java program are straightforward — they are present as strings in the String array passed to the main() method.
For example:
public class Main {
public static void main(String[] args) {
}
}
Where "args" is the String array.
Comments
Leave a comment