46. Revealing a common mistake with Strings Everybody knows that String is an immutable class. In Java Coding Problems, First Edition, Chapter 2, Problem 48, we have even dissected how this class works and what are the consequences of its immutability.Even so, we are still prone to accidentally write code that ignores the fact that […]