Y
Hacker News
new
|
ask
|
show
|
jobs
by
dmitrytsepelev
1534 days 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)