This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
The output is: SimpleThread --> Name is :main SimpleThread --> Priority is :5 SimpleThread1 --> Name is :Thread1 SimpleThread1 --> Priority is :5 Changing Priority SimpleThread1 --> Priority is :8 In SimpleThread2 --> Name is :Thread2 In SimpleThread2 --> Priority is :8
Hi Jaya, The above example should make things quite clear. Regards, Anupreet