Multithreading interview Q&As on differences between X and Y

Q1. What is difference between ‘Executor.submit()’ and ‘Executor.execute()’ method ? A1. The difference is that execute() doesn’t return a “Future” object, so you can’t wait for the completion of the Runnable, and get any exception it throws. The submit(…) method…

Top 14 popular posts

500+ Java Interview FAQs

Java & Big Data Tutorials