Make an ArrayList unmodifiable
Filed under Oracle
The question
Describe how to modify or wrap an existing ArrayList instance so that any insertion or alteration operation on it is disallowed.
No write-up yet. Related questions below have one.
Related Oracle questions
Collected from public candidate posts and coding forums. Updated Nov 2026.