// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class ArgDump  {
    public static void demo(Object... arg) {
        for(int i = 0; i < arg.length; i++) {
            if(i > 0) System.out.print(" ");
            System.out.print(arg[i].getClass().getName());
        }
        System.out.println();
    }
    public static void main(String[] args) {
        demo(123, "ABC");
        demo(123.456);
    }
}
