Pregunta de entrevista de LSEG (London Stock Exchange Group)

What is inheritance when relating to object oriented programming?