Pregunta de entrevista de Visa Inc.

What is a functional vs class component?