Pregunta de entrevista de Accenture

Question on object oriented programing.