Java program that creates three threads. The first thread displays "Good Morning" for every one second, the second thread displays "Hello" for every two seconds and third thread displays "Welcome" for every three seconds.
OUTPUT:
Good morning Good morning hello welcome Good morning hello Good morning Good morning welcome hello hello welcome hello welcome welcome
Detailed OUTPUT with Delays: