what is purpose of collections.unmodified() method..?



what is purpose of collections.unmodified() method..?..

Answer / shailendra singh rajput

if we can pass list in Collection.unmodified(list) that
means A list implementation can be made read only using
collection.this return new list.if any change in that list
it gave unsupportedException is thrown.

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is primitive array?

0 Answers  


What is the use of static class?

0 Answers  


what is the J2EE BluPrints?

0 Answers  


How do you define a parameter?

0 Answers  


Difference String and String Buffer

4 Answers  






What is merge sort in java?

0 Answers  


What is the use of arrays tostring () in java?

0 Answers  


Discuss about garbage collector in Java.

0 Answers   Agilent, Integreon, ZS Associates,


What is the biggest integer?

0 Answers  


Explain the difference between an object-oriented programming language and object-based programming language?

0 Answers  


What is method overloading in java ?

0 Answers  


What is a default constructor and also define copy contrucyor?

0 Answers   Global Logic,


Categories