public class Test2 { public static void transUrlAlter(String... books) { for (String asd : books) { System.out.println(asd); } } public static void main(String[] args) { transUrlAlter("234", "21345", "qwert"); } }