Pregunta de entrevista de Capgemini Engineering

How to create an read only class?