摘要: 3,增强for语句 取数组中的数据 int[] a[10,20];for(int x:a){}//遍历数组里的值x=数组的值​ 4,continue只终止一次 continue终止某次循环过程 5,可变参数 public void test(int... x){ }text(a[1,2,3,4,5] 阅读全文
posted @ 2022-06-09 18:07 黑常无白 阅读(11) 评论(0) 推荐(0)