Pregunta de entrevista de Juvare

Explain inheritance in object-oriented programming?