What is String interning in Java? String interning helps you to efficiently store and compare String objects, however overusing it could mean trouble. This article describes how do String storage works in the background and how can interning help you.