Google News
logo
Java Collections - Interview Questions
Explain the EmptySet() method.
The Emptyset() method removes the null elements and returns the empty unchangeable set. This immutable set is serializable. The method declaration of the Emptyset() is - public static final <T> Set<T> emptySet().
Advertisement