Pregunta de entrevista de Akbank

-What is different between class component and functional component?