Question 9
Sybex
Java OCP 8 Study Guide Typo Chapter 7 page 396
in the book is
int result = t1.fork().join();
Integer sum = pool.invoke(task);
It needs explicit cast because it is an Object and it gives compiler error
int result = (int) t1.fork().join();
Integer sum = (Integer) pool.invoke(task);