Pregunta de entrevista de Capgemini

What is immutable and how to make a class immutable?

Respuesta de la entrevista

Anónimo

26 jun 2020

Immutable means which will not change. In Java, immutable object doesn't change their state after creation. Please check how to make a class immutable.