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 |
Can we define constructor in inner class?
What is the static method?
What is difference between final and finally in java?
Which methods are used during serialization and deserialization process?
What is a nonetype?
What does percent mean in java?
What is stack example?
How many bytes is a unicode character?
What is a marker interface?
What is default exception handling in java?
What are the types of arrays in java?
What is a local class in java?