posted 24 years ago
In my opinion,
every thread instance, is a member of excactly one thread group. A thread Group can have both threads and other thread Groups as its member.
when a Java application is started, the JVM creates the main thread group as a member of "system thread group". A main thread is created in this main thread group to run the main() method of the application.
If main() method spawns a thread, that thread INHERITS the user-thread status of the original thread (main), including its PRIORITY.
By Default, all new user-created thread and thread group will become the member of this main thread group UNLESS another THREAD GROUP is passed as the first argument of the new statement constructor method.
for example :
ThreadGroup javaRanch = new ThreadGroup("MyTHREADGROUP");
Thread thread = new Thread(javaRanch, "MyThread");
You create a "thread", and this thread is a member of "javaRanch" ThreadGroup. By doing this, "thread" will inherits all status from javaRanch Thread Group, including the PRIORITY.
so i choosed "FALSE".
stevie