Which class is used to represent a thread pool that can schedule tasks for execution at a fixed rate in
Java?
a) TimerTask
b) ScheduledExecutorService
c) ScheduledThreadPoolExecutor
d) ScheduledFuture
Solution: c) ScheduledThreadPoolExecutor
Explanation: The ScheduledThreadPoolExecutor class is used to represent a thread pool that can schedule tasks for execution at a fixed rate in Java.