Visa Inc. interview question

What is a functional vs class component?