эквивалент ключевому слову Params в Java
public void foo(Object... bar) {
for (Object baz : bar) {
System.out.println(baz.toString());
}
}
Pixel Freak
public void foo(Object... bar) {
for (Object baz : bar) {
System.out.println(baz.toString());
}
}