Which Of These Is True About Unmodifiablecollection Method #808
Which of these is true about unmodifiableCollection() method?
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 Collection Algorithms - Quiz No.1.
Which of these is true about unmodifiableCollection() method?
unmodifiableCollection() returns a collection that cannot be modified
unmodifiableCollection() method is available only for List and Set
unmodifiableCollection() is defined in Collection class
none of the mentioned