각각의 쓰레드의 우선순위를 정해서 실행시킬 수 있습니다. package Java.thread; //쓰레드 우선순위를 설정해주는 예제 class PriorityThread extends Thread{ @Override public void run(){ int sum = 0; //쓰레드 작업 시작 Thread thread = Thread.currentThread(); System.out.println(thread + " start !!"); //0~100_000까지 더하기 for (int i = 0; i < 100_000; i++) { sum += i; } //쓰레드 작업 종료 System.out.println(thread.getPriority() + " end !!"); } } public class Pr..