Answer
Intern pool stores unique string instances for process lifetime.
Benefits: deduplication of literals. Harmful: unbounded memory use if interning user input.
Intern pool stores unique string instances for process lifetime.
Benefits: deduplication of literals. Harmful: unbounded memory use if interning user input.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ