4 ms·
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 str
by dmitrytsepelev 4y ago
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)