[Collection] ArrayList and Iterator import java.util.List; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; public class CollectionTest { public static void main(String[] args) { String[] colors = {"MAGENTA", "RED", "WHITE", "BLUE", "CYAN"}; List list = new ArrayList(); for(String color : colors) { list.add(color); } String[] removeColors = {"RED", "MAGENTA", "BLUE"}; List removeList = new ArrayL.. 더보기 이전 1 ··· 5 6 7 8 9 10 11 ··· 24 다음 목록 더보기