java argument main

Solutions on MaxInterview for java argument main by the best coders in the world

showing results for - "java argument main"
Sami
13 Feb 2017
1public class ArgumentExample {
2    public static void main(String[] args) {
3        for(int i = 0; i < args.length; i++) {
4            System.out.println(args[i]);
5        }
6    }
7}
8