What Collections.unmodifiableList returns - which of the following is true?
Answer: C
It wraps rather than copies, so the wrapper refuses modification while anything still holding the original list can change it and those changes show through the view. Genuine immutability needs a copy, and neither approach makes the elements themselves immutable.
Please log in or register to report this question.