About Question enthuware.ocpjp.v8.2.1235 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
badbishop
Posts: 27
Joined: Fri Jul 22, 2016 9:14 am
Contact:

About Question enthuware.ocpjp.v8.2.1235 :

Post by badbishop »

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.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1235 :

Post by admin »

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests