๋์ํ๊ณ ์๋ ํ๋ก๊ทธ๋จ์ ํ๋ก์ธ์ค (Process) ๋ผ๊ณ ํ๋ค. ํ ๊ฐ์ ํ๋ก์ธ์ค์์๋ ํ ๊ฐ์ง์ ์ผ์ ํ์ง๋ง ์ค๋ ๋(Thread) ๋ฅผ ์ด์ฉํ๋ฉด ํ๋์ ํ๋ก์ธ์ค ์์ ๋ ๊ฐ ์ด์์ ์ผ์ ๋์์ ์งํํ ์ ์๋ค. public class Sample extends Thread { public void run() { // Thread ๋ฅผ ์์ํ๋ฉด run ๋ฉ์๋๋ฅผ ๊ตฌํํด์ผ ํ๋ค. System.out.println("thread run."); } public static void main(String[] args) { Sample sample = new Sample(); sample.start(); // start()๋ก ์ฐ๋ ๋๋ฅผ ์คํํ..