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 a locale?

0 Answers   Aspire, Infogain,


how can i connect to database in a applet ?

1 Answers  


How does hashmap work in java ?

0 Answers  


what is enumset?

0 Answers  


What is instance example?

0 Answers  






What are anonymous inner classes?

0 Answers  


How to access a variable if it is declared as private?

3 Answers  


What is constant in programming?

0 Answers  


What is json parser in java?

0 Answers  


What is Garbage Collection in Java

0 Answers   Wipro,


What does nextint () do in java?

0 Answers  


How to avoid the runtime exception ?

2 Answers  


Categories