Which interface allows scheduling of tasks with a delay?

  1. Runnable
  2. Callable
  3. ScheduledExecutorService
  4. TimerTask
Correct answer ScheduledExecutorService

Explanation

`ScheduledExecutorService` allows you to schedule tasks to run after a delay or periodically.

Update: Admin added a tag on this question

Topics

By Admin · · 27 views