EMIS Group interview question

Deep in OOPS concept