Describe the difference between a Thread and a Process?
Answers were Sorted based on User's Feedback
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 |
Why is destructor used?
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,
What is the benefit of oop?
What is conditional Compilation?
How would you stop a class from class from being derived or inherited.
What is Virtual Keyword?
what is the advantage in software? what is the difference between the software developer and Engineer
Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345
What is overriding vs overloading?
Why is oop useful?
what is the application of oops?
What is DeadlyDiamondDeathProblem ?