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 do we need strings in java?
What is the full meaning of java?
What is local variable and instance variable?
Explain when we should make an instance variable private.
Difference between ‘>>’ and ‘>>>’ operators in java?
What is a arraylist in java?
What lambda means?
What is namespace in java?
Can you call a method in a method?
What is the use of flag?
Which one of the following suits the description of a string better: derived or primitive?
What is a java applet? What is an interface?
What is the difference between inheritance and encapsulation?
What does singleton class mean?
What is the difference between a scrollbar and a scrollpane?