Online Java Compiler By
JavaTpoint.com
import java.util.*; public class CollectionsEmptyIteratorExample1 { public static void main(String[] args) { Iterator
Itr = Collections.emptyIterator(); System.out.println("Output: "+Itr.hasNext()); } }
Output