Question 1
How do you create a cached thread pool?
◦ ExecutorService executor = Executors.newCachedThreadPool(2);
◦ ExecutorService executor = Executors.newCachedThreadPool(3);
◦ ExecutorService executor = Executors.newCachedThreadPool(1);
◦ ExecutorService executor = Executors.newCachedThreadPool();
Question 2
The keyword to synchronize methods in Java is ________.
◦ synchronize
◦ Synchronized
◦ synchronizing
◦ synchronized