Jave foreach 循环出来的变量能否通过赋值改变
摘要:
代码: public static void main(String[] args) { Integer[] mm = new Integer[] {14561,1264}; for (Integer item : mm) { item=45;//foreach 循环的变量是被transient 修 阅读全文
posted @ 2020-03-22 17:10 滚动的蛋 阅读(784) 评论(0) 推荐(0) 编辑