Comment Comment by dmitrytsepelev Java does use string interning for constants. It can help in any case when you have a lot of instances of the same string (and when you need to compare that strings) parent dmitrytsepelev 4 years ago