Data Aces Interview Question

What's different between class and functional components