Compare String, StringBuilder, and StringBuffer in Java
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Overview: Compare immutable strings with mutable Java text builders and buffers. Correctly identify synchronization guarantees and reason about repeated construction, thread confinement, and compound operations.