S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used to define a scheduled task?

  • (A) @Async
  • (B) @Cron
  • (C) @Scheduled
  • (D) @Task
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@Scheduled is used to schedule tasks in Spring applications.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.