Frage im Vorstellungsgespräch bei Akbank

-What is different between class component and functional component?