Pregunta de entrevista de Tata Consultancy Services

Questions from inheritance and class