What is the difference between Process and Threads ?

What is the difference between Process and Threads ?

A process is a program in execution, whereas a single process can contains multiple threads. 

The key difference is that processes are fully isolated from each other whereas threads share (heap) memory with other threads running in the same application. 

Threads share the address space of the process that created it; processes have their own address.


By:Jalees
Date:2013-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher