@towc Yes they can! I threw together an ideone with things that would work
here. Idea being: If the compiler knows the Strings as literals, they will end up in a shared String pool. That way all occurences share the same reference and
==
will be true when comparing.