← Morgan Stanley questions

Make a class immutable containing a List

Filed under Morgan Stanley

The question

Modify a given class containing a String name and a List of phone numbers to make the class completely immutable, paying special attention to the List field.

No write-up yet. Related questions below have one.

Related Morgan Stanley questions

Collected from public candidate posts and coding forums. Updated Nov 2026.