Pregunta de entrevista de Data Aces

What's different between class and functional components