Prev Next

Java / List and its implementations

How to create Immutable List in java?

Using Collections.unmodifiableList(list) we can create an immutable list in Java.

UnsupportedOperationException is thrown when we try to modify or add element in an unmodifiableList.

More Related questions...

Show more question and Answers...


Comments & Discussions