Solved

Which of the Following Statements Is False

Question 50

Multiple Choice

Which of the following statements is false?


A) Java SE 8 introduces a new CompletableFuture class (package java.util.concurrent) , which implements the Future interface and enables you to asynchronously execute Runnables that perform tasks or Suppliers that return values.
B) CompletableFuture static method supplyAsync asynchronously executes a Supplier task that returns a value.
C) CompletableFuture static method runAsync asynchronously executes a Runnable task that does not return a result.
D) CompletableFuture method get is a blocking method-it causes the calling thread to run until the asynchronous task completes and returns its results.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions