public static void printAll(Object... things){
// "things" is an Object[]
for(Object i:things){
System.out.println(i);
}