// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package test;

public class Test {
    public static void main(String[] args) {
        for(int i = 0; i < args.length; i++) {
            System.out.println("arg " + i + " = " + args[i]);
        }
        System.out.println("maxmem = " + Runtime.getRuntime().maxMemory());
    }
}
