Online Java Compiler By
JavaTpoint.com
import java.util.*; public class CollectionsEmptyNavigableSetExample1 { public static void main(String[] args) { //Create an empty Set NavigableSet
EmpNavSet = Collections.
emptyNavigableSet(); System.out.println("Empty Navigable Set: "+EmpNavSet); } }
Output