Ixar interview question

What is difference between functional and class component?