NeoSOFT Interview Question

difference between class and functional component