@Test
public void testIte(){
Collection<String> c = new HashSet<String>();
c.add("java");
c.add("php");
c.add("cpp");
c.add("c#");
Iterator<String> it = c.iterator();
while(it.hasNext()){
String str = it.next();
System.out.println(str);
}
}