Hi Can anyone give example for the following. "A thread inherits its priority from the thread it created it"
posted 12 years ago
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