The Secret Life of a Java String

String is the most-used type in any Java codebase, without much competition. And yet, most developers don&rsquo;t know much about what actually happens under the hood.