The code snippet below shows how to use Iterator to iterate through an ArrayList.

Java Code:
		ArrayList arrayList = new ArrayList();
		arrayList.add("Honda");
		arrayList.add("Toyota");

		
		Iterator iterator = arrayList.iterator();
		
		while(iterator.hasNext())
			System.out.println(iterator.next().toString());