What Does Collectionsemptyset Return #694
What does Collections.emptySet() return?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Util Collections Framework - Java Set - Quiz No.1.
What does Collections.emptySet() return?
Immutable Set
Mutable Set
The type of Set depends on the parameter passed to the emptySet() method
Null object