数组参数 有params 区别
摘要:
public static void testnotparams(int[] par) { } // public static void test(params int[] par) { } void dfsasa() { testnotparams(1, 2);//不可以赋值 testnotpa 阅读全文
posted @ 2016-09-10 21:52 WINSH 阅读(421) 评论(0) 推荐(0)
浙公网安备 33010602011771号