Pergunta de entrevista da empresa HSBC

What is component scan and how is it different from @component