Java 一行代码 数组遍历输出

Arrays.stream(arr).forEach(num -> System.out.println(num));

 

posted @ 2020-11-20 14:35  行则将至777  阅读(267)  评论(0)    收藏  举报