摘要: 1、for(int i : index){}用法【又称是foreach用法】: 比如: 用法:数组遍历输出,for(int i : index){} >表示遍历输出index数组中的值,并赋值给了i,然后依次i的值就是0,1,2,0,3,1,4,2,2,5,6,于是才有了下面字符串的拼接; 2、fo 阅读全文
posted @ 2016-06-22 15:27 FanSunny 阅读(761) 评论(0) 推荐(0)