Pergunta de entrevista da empresa Fortran Traffic Systems

How does class inheritance work?