About Question enthuware.ocpjp.v8.2.1235 :
Moderator: admin
-
- Posts: 27
- Joined: Fri Jul 22, 2016 9:14 am
- Contact:
About Question enthuware.ocpjp.v8.2.1235 :
I have picked the last option fingers crossed, because the rest made no sense at all. But, strictly speaking, Future<V> is not exactly a "result" in the common meaning of the term - i.e., something that is useful in it's own right, and an attempt to call Future<V>.get() may block, if the result is yet to be achieved.
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1235 :
The problem statement doesn't imply that Future is the result. It asks which of the types from java.util.concurrent package will be required to get the result without blocking. You will need Future. That it is not sufficient is a different issue.
Who is online
Users browsing this forum: Bing [Bot] and 14 guests