Akbank interview question

-What is different between class component and functional component?