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