CodeSynergiX Interview Question

what is difference between functional component and class component