Pergunta de entrevista da empresa Dell Technologies

Explain inheritance with different types.