def printAll( Object[] args) { args.each{ arg -> println arg } } printAll(1, 2, "three", ["3", "4"])