package yst;
import java.util.*;
public class x {
public static void main(String[] args) {
List li = new java.util.ArrayList();
li.add("ighe");
li.add('r');
li.add(12345);
System.out.println(li.size());
for (Object temp:li
){
System.out.println(temp);
}
Iterator it = li.iterator();
while (it.hasNext()){
System.out.println(it.next());
}
}
}