What is the function of the Future<T> submit(Callable<T> task) method of the ExecutorService interface?
Answer: Submits the thread for execution and returns a Future to represent the task. The get() method of the Future returns the value produced by the call() method of the Callable object
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.