Online Java Compiler By
JavaTpoint.com
import java.util.*; public class CollectionsEmptyNavigableMapExample1 { public static void main(String[] args) { //Create an empty Map NavigableMap
EmptyNavMap = Collections.emptyNavigableMap(); System.out.println("Created Empty Navigable Map: "+EmptyNavMap); } }
Output