Pergunta de entrevista da empresa LSEG (London Stock Exchange Group)

What is inheritance when relating to object oriented programming?