Frage im Vorstellungsgespräch bei Capgemini

How to create the class component and function component?