Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java argument main

public class ArgumentExample {
    public static void main(String[] args) {
        for(int i = 0; i < args.length; i++) {
            System.out.println(args[i]);
        }
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #argument #main
ADD COMMENT
Topic
Name
4+2 =