Describe the difference between a Thread and a Process?

Answers were Sorted based on User's Feedback



Describe the difference between a Thread and a Process?..

Answer / kirti

A Process is an instance of an running application. And a thread is the Execution stream of the Process. A process can have multiple Thread.

When a process starts a specific memory area is allocated to it. When there is multiple thread in a process, each thread gets a memory for storing the variables in it and plus they can access to the global variables which is common for all the thread. Eg.A Microsoft Word is a Application. When you open a word file,an instance of the Word starts and a process is allocated to this instance which has one thread.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

how to swap to variables without using thrid variable in java?

5 Answers  


class type to basic type conversion

0 Answers  


I hv a same function name,arguments in both base class and dervied class, but the return type is different. Can we call this as a function overloading? Explain?

3 Answers  


What is object and class in oops?

0 Answers  


string is a class or data type in java?

3 Answers  






What is encapsulation example?

0 Answers  


What is OOPS and How it is different from Procedural Programming ?

23 Answers   HP, Infosys, Thyrocare,


What is abstraction example?

0 Answers  


how do you handle yourself when you feel the wald is aganist you

2 Answers  


what is the difference between function template and template of function?explain with example.

2 Answers  


Please tell me the oops concept with detailed answer

9 Answers   EEE,


hi all..i want to know oops concepts clearly can any1 explain??

0 Answers   Eureka Forbes,


Categories