Sail E0 Webinar
Question
Which of these is true about unmodifiableCollection() method?
Options:
A .  unmodifiableCollection() returns a collection that cannot be modified.
B .  unmodifiableCollection() method is available only for List and Set.
C .  unmodifiableCollection() is defined in Collection class.
D .  None of the mentioned.
Answer: Option B


unmodifiableCollection() is available for al collections, Set, Map, List etc.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers