Data Aces interview question

What's different between class and functional components