Problem Statement
What is the String pool and how do string literals vs new String(…) behave?
Explanation
Literals are interned in the String pool; identical literals share one instance. new String creates a distinct heap object even if an equal literal exists.