Wipro interview question

Explain about class components and functional components