Pergunta de entrevista da empresa QAD

what is a constructor, what is inheritance