在Java 5 中提供了变长参数,允许在调用方法时传入不定长度的参数。 ... //public void error1(String... args, Object o) {} //public void error2(String... args, ...
確定! 回上一頁