In Java, there are a few ways to to iterate over a List with indices. ... System.out.println(list.get(index) + ":" + index));// Outputs:
確定! 回上一頁