Pregunta de entrevista de CodeSynergiX

what is difference between functional component and class component