Axlr8 interview question

Object oriented design