Frage im Vorstellungsgespräch bei CodeSynergiX

what is difference between functional component and class component