Which of these is true about unmodifiableCollection() method?

Question:
Which of these is true about unmodifiableCollection() method?

1.unmodifiableCollection() method is available only for List and Set.

2.unmodifiableCollection() returns a collection that cannot be modified.

3.unmodifiableCollection() is defined in Collection class.

4.None

Posted Date:-2021-10-25 05:26:59


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!