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 |
how to swap to variables without using thrid variable in java?
class type to basic type conversion
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?
What is object and class in oops?
string is a class or data type in java?
What is encapsulation example?
What is OOPS and How it is different from Procedural Programming ?
23 Answers HP, Infosys, Thyrocare,
What is abstraction example?
how do you handle yourself when you feel the wald is aganist you
what is the difference between function template and template of function?explain with example.
Please tell me the oops concept with detailed answer
hi all..i want to know oops concepts clearly can any1 explain??