2015-11-25 不定長度object 31 0 不定長度object String[] objs = {"xxx","yy"}; dynaParams(objs); public static void dynaParams(String... Object) { for (int i = 0; i < Object.length; i++) { System.out.println(Object[i]); } } JAVA 回首頁