Pregunta de entrevista de Crediwatch

What is the difference between functional components and class components?