S

Satya • 3.38K Points
Extraordinary

Q. Which annotation is used to configure a class as a configuration source?

  • (A) @Configuration
  • (B) @ConfigSource
  • (C) @Source
  • (D) @SpringConfig
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Springboot
  • Hashtags:

Explanation by: Satya

@Configuration marks a class as a source of bean definitions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.