public static void main(String[] args)
	{
		List<String> list = new ArrayList<String>();
		
		list.add("a");
		list.add("b");
		list.add("c");
		list.add("d");
		
		for(int i = 0; i < list.size();i++){
			String value = list.get(i);
			System.out.println(value);
		}
		
		for(Iterator<String> iter = list.iterator();iter.hasNext();){
			String value = iter.next();
			System.out.println("Iterator:" + value);
		}
	}