Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

main methode java


public class ArgumentExample {
    public static void main(String[] args) {
        for(int i = 0; i < args.length; i++) {
            System.out.println(args[i]);
        }
    }
}

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #main #methode #java
ADD COMMENT
Topic
Name
1+4 =