โ† Morgan Stanley questions

Java core concepts and memory management

Filed under Morgan Stanley

The question

Discuss immutable classes, String immutability, String pool, Garbage Collection, JMM, HashMap internals, equals/hashcode, LinkedList vs ArrayList, pass by value, deep vs shallow copy, final keyword, and Comparable vs Comparator.

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

Related Morgan Stanley questions

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