Goldman Sachs Interview Question

Questions on OOP concepts