Question d’entretien chez Infosys

basic core java questions, how to create immutable class