S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used to enable caching in a Spring Boot application?

  • (A) @EnableCache
  • (B) @EnableCaching
  • (C) @Cacheable
  • (D) @CachingEnabled
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@EnableCaching is used to enable Spring's annotation-driven cache management capability.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.