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 |
What is return data type?
What is the maximum size of arraylist in java?
What is an example of a boolean?
This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?
What is multi-catch block in java?
What is the difference between final, finally and finalize() in java?
What is array in java?
how to fing linkedlist is circular or not?
how to identify duplicate values in arraylist
What are white spaces in java?
What are "methods" and "fields"?
How can you read content from file in java?