Domanda di colloquio di HCLTech

Difference between functional and class components?