Datix interview question

Difference between public and private variables.