Pergunta de entrevista da empresa Infosys

What’s the difference of class and inheritance?