Capgemini Interview Question

Immutable class. How String resolves concatenation when it is immutable. What approach does Java have if immutable class doen't have setter?

Interview Answer

Anonymous

Sep 27, 2016

Immutable class. How String resolves concatenation when it is immutable. What approach does Java have if immutable class doen't have setter?