Question d’entretien chez Accenture

What is the difference between Class and functional component in react