Question: What is the purpose of the Spring IoC (Inversion of Control) container?

  1. It instantiates and configures objects, supplied at runtime, to classes that define them as a dependency.
  2. It allows the front-end code to manage the ResponseBody objects provided by a back-end REST API.
  3. It allows a database to define business objects via a shared schema at compile time.
  4. It facilitates a remote server to configure a local application.

Answer: The correct answer of the above question is Option A:It instantiates and configures objects, supplied at runtime, to classes that define them as a dependency.