About Question enthuware.ocpjp.v8.2.1241 :
Posted: Mon Oct 12, 2015 8:22 am
There are two answers that are almost the same, namely:
[*]Subclass RecursiveAction and implement the compute() method that computes the new value but does not return anything.
[*]Implement compute() method in RecursiveAction that computes the new value but does not return anything.
The second answer is marked as correct, but I think the first answer is even more accurate, and therefore correct as well. The question asks what would be a good approach and subclassing RecursiveAction is certainly a good approach (together with answer #6)!
Kind regards,
Martijn
[*]Subclass RecursiveAction and implement the compute() method that computes the new value but does not return anything.
[*]Implement compute() method in RecursiveAction that computes the new value but does not return anything.
The second answer is marked as correct, but I think the first answer is even more accurate, and therefore correct as well. The question asks what would be a good approach and subclassing RecursiveAction is certainly a good approach (together with answer #6)!
Kind regards,
Martijn