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
What are static blocks in java ?
Can an interface have a constructor?
What is a method type?
What does sprintf mean?
What is lambda programming?
What is 16 bits called?
What is immutable in java?
What is difference between static variable and global variable?
What is the properties class?
When will you define a method as static in Java?
What is the difference between scrollbar and scrollpane?
what is instanceof operator used in java?
What is the static import?
Why do we use return statement?
Tell us something about different types of casting?