Leidos interview question

OOP question on structuring and creating object hierarchy.