Question: What is a bean in the context of Spring?

  1. a managed dependency defined by configuration metadata that can be injected into downstream classes
  2. a binary-encoded, agnostic, named entity that is translatable between different data formats
  3. a payload that is transferable between different services in a Service-Oriented Architecture (SOA)
  4. a discrete piece of data that is encoded in a binary format for persisting to a file system

Answer: The correct answer of the above question is Option A:a managed dependency defined by configuration metadata that can be injected into downstream classes