Solved

Which of the Following Statements Is False

Question 43

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents