Pregunta de entrevista de Infosys

basic core java questions, how to create immutable class