4 ms·
>String being equal by reference is important, and part of JLS. I never said String must be equal by reference when their content is. However string literals m
by xxs 3y ago
>String being equal by reference is important, and part of JLS.
I never said String must be equal by reference when their content is. However string literals must be equal by reference. I thought Mentioning the JLS would make it obvious, esp. having 'intern' in the context