JPMorganChase interview question

oop design question cannot repeat look at top questions