The priority of the newly created thread is set equal to the priority of the thread creating it, that is, the currently running thread. The method setPriority may be used to change the priority to a new value.
Moreover, we ain't got many rules 'round these parts, but we do got one. Please change your displayed name to comply with the JavaRanch Naming Policy. Thanks Pardner! Hope to see you 'round the Ranch!
Hi, If a thread priority is not specified explicitly, it would inherit the priority of the thread it was created in. So if you had a main thread, with the default priority of 5, and you created your thread from within it, then the new thread would also have the same priority of 5. But lets say if you changed the priority of the main thread to say 8, then the thread you create will also have the priority of 8. I hope this is helpful. Also check this thread link on the forum for a small example Regards, Anupreet