BlackRock interview question

Java object oriented programming principles