String in Java doesn’t always need newString interning and the string constant pool are powerful memory-saving features in JavaJava reuses the same string literal from the string constant poolUsing the intern() method checks the string pool and returns the pooled object or adds it to the pool