About Question enthuware.ocpjp.v7.2.1238 :

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

Moderator: admin

Post Reply
aspire_jp
Posts: 8
Joined: Wed Apr 17, 2013 12:37 pm
Contact:

About Question enthuware.ocpjp.v7.2.1238 :

Post by aspire_jp »

Hi, just a doubt shouldnt the 2nd last correct option be invokeAll(list) and not invokeAll(subactions) ?
thanks!

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

Re: About Question enthuware.ocpjp.v7.2.1238 :

Post by admin »

No, you need to pass a collection of RecursiveAction to invokeAll. Please take a look at the examples here: http://docs.oracle.com/javase/7/docs/ap ... ction.html

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

sumanenthu
Posts: 23
Joined: Sun Feb 21, 2016 10:12 am
Contact:

Re: About Question enthuware.ocpjp.v7.2.1238 :

Post by sumanenthu »

I have a doubt regarding when should I use fork and join from the else block (when the task is bigger than threshold value) and when I should use invoke()?

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

Re: About Question enthuware.ocpjp.v7.2.1238 :

Post by admin »

If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests