Hexagon interview question

Difference between Java classes, OO design