Write a program to create two Threads. 1st Thread printing the table of the number (each after a period of 1 sec) entered by the user and 2nd Thread printing each character of the sentence after a period of 1s. Thread 1 must be executed first completely before starting of thread 2.
Comments
Leave a comment