import java.util.ArrayList;
public class list {
public static void main(String[] args){
ArrayList<String> list = new ArrayList<String>();
list.add("AAA");
list.add("BBB");
list.add("CCC");
System.out.println("----list----");
System.out.println(list);
System.out.println("----get()----");
System.out.println(list.get(0));
System.out.println("----set()----");
list.set(1,"DDㅇㅇㅇㅇㅇㅇㅇㅇㅇㅇD");
System.out.println(list);
}
}