Immutable classes, Singleton pattern, and concurrency keywords
Filed under Goldman Sachs
The question
Discuss immutable classes, implement a custom immutable class securely, implement a thread-safe Singleton class with double-check locking while preventing breaks, and explain volatile, final, and static keywords.
No write-up yet. Related questions below have one.
Related Goldman Sachs questions
Collected from public candidate posts and coding forums. Updated Nov 2026.