Pregunta de entrevista de Infosys

Object oriented programming basic question