Next Kraftwerke interview question

Something about object oriented programming