Java

hard
0/10 answered
Q1

What is the output of: ExecutorService executor = Executors.newSingleThreadExecutor(); Future<Integer> future = executor.submit(() -> 42); System.out.println(future.get());

1 / 10