Pergunta de entrevista da empresa WD

Difference between public and private variable