Domanda di colloquio di Capgemini

What is immutable and how to make a class immutable?

Risposta di colloquio

Anonimo

26 giu 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.