Advanced Thread Features
•
All Java Threads have a priority.
If you
want a thread to run more relative to
other threads, give it a higher priority.
•
Threads can be grouped in
ThreadGroup objects
•
Test7:
Two groups of threads
•
Test8:
Printing threads with priority