Nuvento Interview Question

what is difference between class component and functional component?