Frage im Vorstellungsgespräch bei Tata Consultancy Services

Hoisting, promises, functional component vs class based component