Pergunta de entrevista da empresa Capgemini

How to keep data variables private and how can they be called in the constructor?