Bloomberg Interview Question

Difference between public/protected/private variables in C++.