不用下标也能遍历——Java5 引入的 for-each。
for(声明语句 : 表达式) { //代码句子 }
int[] numbers = {10, 20, 30, 40, 50};
10,20,30,40,50,
List<String> names = ...;