java iterate a list of strings code example
Example: iterate list in java
Iterator itr=list.iterator();
while(itr.hasNext)
{
system.out.println(itr.next);
}
Iterator itr=list.iterator();
while(itr.hasNext)
{
system.out.println(itr.next);
}