Netstratum Interview Question

Difference between class components and functional components