Practice Test Geeks home

OCP - Oracle Certified Professional OCP Java Concurrency Questions and Answers

An `ExecutorService` is actively running tasks.
A separate thread calls the `shutdown()` method on the service.

Immediately after, another attempt is made to submit a new task using the `submit()` method.

What will be the result of this second submission attempt?

Select your answer