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
Does java allow default arguments?
What is primitive array?
Is array size fixed in java?
Is there any difference between synchronized methods and synchronized statements?
Which variables are stored in stack?
Which language is java?
Why is core java important?
What is the point of java?
What is the this keyword?
What is connection class in java?
What are selection structures?
what is inner class in java?
What is mutable object and immutable object?
What about abstract classes in java?
Can a class extend 2 classes in java?