(OCP) Oracle Certified Professional Practice Test

OCP Java Concurrency Questions and Answers

Free · Instant Results

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?
▶ Start Practice Test