public class ArgumentsWorkMain { public static void main(String... args) { ArgumentsWorkMain me = new ArgumentsWorkMain(); // test1 は可変引数 // test1(String str, String... args) me.test1(""); me.test1("a", "a"); me.test1("a b", "a", "b"); me.test1("", new String[] {}); me.test1("a", new String[] { "a" }); me.test1("a b", new String[] { "a", "b" }); me.test1("((null))", null); // ↑ この null は (String[]