Answers for "how to iterate list in java and execute function when condition matched"

0

iterate list in java

Iterator itr=list.iterator();
while(itr.hasNext)
{
 system.out.println(itr.next); 
}
Posted by: Guest on September-04-2020

Code answers related to "how to iterate list in java and execute function when condition matched"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language