Answers for "loop to list in java"

2

iterate a list using iterator

Iterator<String> crunchifyIterator = crunchifyList.iterator();
        while (crunchifyIterator.hasNext()) {
            System.out.println(crunchifyIterator.next());
        }
Posted by: Guest on May-20-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language