What is the function of the Future<?> submit(Runnable task) method of the ExecutorService interface?
Answer: Submits the thread for execution, returning a Future representing the task. The get() method of the returned Future object returns null because the run() method of the Runnable object doesn't return anything
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.