Archive for the ‘Java’ Category

Threads in Java

Monday, January 18th, 2010

Java supports multithreaded programming. Threads means part of the program which runs concurrently and which defines separate part of execution. Threads are present in many states.It can be running or it can be made ready to run as soon as it gets CPU time. A running thread can be suspended temporarily and also can be resumed. Thread can also be blocked, it can also be terminated in which execution is stopped. When thread is terminated it cannot be resumed.

(more…)