public static void main(String[] args) throws InterruptedException, IOException { demoSynchronousCallable(); // demoSynchronousFutureTask(); // demoAsynchronousFutureTask(); // demoAsynchronousBetterExceptions(); }