Morgan Stanley interview question

Basic question on OOPs, Angular and Web API