자바 스레드

사용자 정의 스레드 - 메인 스레드가 종료되도 계속 진행
일반 스레드객체.start();

데몬 정의 스레드 - 메인 스레드가 종료될때 같이 종료
스레드객체.setDemone(true);
스레드객체.start();

+ Recent posts