//foreach, the application in the class set public static void main(String[] args) { List<Integer> arrayList = new ArrayList<Integer>(); arrayList.add(1); arrayList.add(2); arrayList.add(3); // for(class object: collection) for (Integer integer : arrayList) { System.out.println(integer); } }
Application of java.foreach. in the class set
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326985039&siteId=291194637
Recommended
Ranking