Informatica Interview Question

How do you make a list/map as immutable within an immutable class

Interview Answer

Anonymous

Mar 25, 2018

On get call of list/map return an Collections.unmodifiableList(new ArrayList(modifiable)); value

1