1. Java2An Introduction to Threads 2. Objectives Compare Multitasking and Multithreading Define a thread Discuss Benefits of multithreading Explain how to create…