Pregunta de entrevista de Salesforce

2nd round 1. Based on oops basics