Pergunta de entrevista da empresa Akbank

-What is different between class component and functional component?