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 |
Is it compulsory to have atleast one abstract method in abstract class?
What is the difference between preemptive scheduling and time slicing in java programming?
What is the difference between final, finally and finalize() in java?
could you run the java program without main method?
Iterator in the HashMap is fail-safe means what?
What are the difference between string, string builder, and string buffer in java?
where final and static variable stored?
What is 'finally' method in Exceptions?
How to make a method thread safe without using synchronized keyword?
8 Answers Persistent, Societe Generale,
write java code to print second max number in the array
What are invisible components?.
Can list be final in java?