Explain Java String Storage and Construction Choices
Company: Oracle
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Onsite
Overview: Explain Java string pooling, literals, explicit new String construction, interning, immutability, equality, and object identity. Compare compile-time and runtime concatenation, then choose appropriately among strings, builders, and related construction patterns.