blob: 6e5906243ab75d4a8db9a93ef9d20fe1dd848535 [file] [log] [blame]
public class Test {
public static void main(String[] args) {
foo(new byte[]{ 1, 2, 3 });
}
private static void foo(byte... bytes) {
System.out.println("Test.foo(byte...)");
for (int i = 0; i < bytes.length; i++) {
System.out.println("bytes[" + i + "] = " + bytes[i]);
}
}
public static void extra(String... args) {
extra(new String[]{"vvv","aaa"});
}
}