Bank of America Interview Question

asked Four Pillar of OOPS