Question: What is component scanning?

  1. feature that scans packages for classes with specific annotations and, when found, creates their bean definitions within the IoC container
  2. paradigm where bytecode is actively scanned to identify additional optimizations to inject into components in the application context
  3. a method by which cloud repositories are scanned to identify components for injection into an IoC container
  4. a method by which binary data in a database is searched to identify components for injection into the IoC container

Answer: The correct answer of the above question is Option A:feature that scans packages for classes with specific annotations and, when found, creates their bean definitions within the IoC container