S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used for asynchronous method execution?

  • (A) @Async
  • (B) @Threaded
  • (C) @Scheduled
  • (D) @Background
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@Async allows Spring to run the method asynchronously in a separate thread.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.