Pregunta de entrevista de HCLTech

Difference between functional and class components?