Sunday, February 4, 2007

What is the differnce between Thread and Process?

A process is a separate group of Threads. Every program generates its own process. If you create a Thread in your Java program, it runs in the process that was created when the JVM started. You create a Thread to do something internally in your program, and you create a process to run a separate program.

SOURCE : www.referjava.com

No comments: