Pergunta de entrevista da empresa XYZ

What are the types of inheritance?