Pergunta de entrevista da empresa Cisco

How made in java immutable object?