improvIT interview question

Differences of public, protected and private variables and methods in Java classes.