What is the role of the `Executor` framework in Java concurrency?
-
A
It replaces the synchronized keyword with a faster alternative
-
B
It provides a higher-level API for managing thread creation and execution
-
C
It automatically detects and resolves deadlocks
-
D
It is used exclusively for scheduling periodic tasks