QAD interview question

what is a constructor, what is inheritance