5つ目のJavaの小さな問題
public class Test {
static void f(int[] b, int... a) {
System.out.println(b.getClass() == a.getClass());
}
public static void main(String[] argu) {
f(new int[] { 1, 2, 3 }, new int[0]);
}
}
すみません、上記のコードの出力は: