what is purpose of collections.unmodified() method..?
Answer Posted / 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 View All Answers
Why we use protected in java?
Where is the singleton class used?
Is java util list serializable?
Name some classes present in java.util.regex package.
Explain about serializable interface in java?
What is a class instance variable?
What is the private method modifier?
What is the default value of byte datatype in java?
Why are data types important?
Can we instantiate interface in java?
What is parsing and its types?
Why do we use return statement?
What is called module?
Which class is the superclass of all classes?
How to add menushortcut to menu item?