List findByExample(T exampleInstance, String... excludeProperty);
public class Main {
public static void main(String[] args) {
//测试,传入多个参数
test("hello", "world", "13sd", "china", "cum", "ict");
}
public static void test(String... arguments) {
for (int i = 0; i < arguments.length; i++) {
System.out.println(arguments[i]);
}
}
}
String...(String后面三个点)的含义
猜你喜欢
转载自caichenglong.iteye.com/blog/2318146
今日推荐
周排行