}
}
class PriorityDemo{ }
public static void main(String args[]){ }
ThreadPriorityDemo aThreadDemo = new ThreadPriorityDemo(\aThreadDemo.setPriority(Thread.MAX_PRIORITY); aThreadDemo.start();
ThreadPriorityDemo bThreadDemo = new ThreadPriorityDemo(\bThreadDemo.setPriority(Thread.MIN_PRIORITY); bThreadDemo.start();
ThreadPriorityDemo cThreadDemo = new ThreadPriorityDemo(\cThreadDemo.setPriority(Thread.NORM_PRIORITY); cThreadDemo.start();
ThreadPriorityDemo dThreadDemo = new ThreadPriorityDemo(\dThreadDemo.setPriority(Thread.MIN_PRIORITY); dThreadDemo.start();
ThreadPriorityDemo eThreadDemo = new ThreadPriorityDemo(\eThreadDemo.setPriority(Thread.MIN_PRIORITY); eThreadDemo.start();