Please enable JavaScript to use CodeHS

Understand the Java String Pool

For many, the Java String Pool remains a slight mystery. In this tutorial, you will take a deeper dive into understanding how the String pool works and when Java uses the String pool versus creating a separate object.

By David Burnham