Nuvento interview question

what is difference between class component and functional component?