Pergunta de entrevista da empresa Nuvento

what is difference between class component and functional component?