Which class is used to schedule a task for execution after a specified delay in Java?
a) Timer
b) TimerTask
c) ScheduledExecutorService
d) ScheduledThreadPoolExecutor
Solution: a) Timer
Explanation: The Timer class is used to schedule a task for execution after a specified delay in Java.