Pergunta de entrevista da empresa Ixar

What is difference between functional and class component?