Execute Callable objects

Report a typo

You are given a List of Future objects that return Callable<Integer>. You should execute these Callable objects in the reverse order, starting from the end of the List.

Return a sum of values returned by these Callable objects.

Write a program in Java 17
import java.util.List;
import java.util.concurrent.*;


class FutureUtils {

public static int executeCallableObjects(List<Future<Callable<Integer>>> items) {
// write your code here
}

}
___

Create a free account to access the full topic