Pergunta de entrevista da empresa Cognizant

Explain useState and useEffect Hooks in React