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 oops is important?
JAVA is FULLY OBJECT ORIENTED PROGRAMING LANGUAGE?
Which method cannot be overridden?
What is polymorphism in oops with example?
why to use template classes in c++?
What do we mean by a hidden argument in a function?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is destructor in oop?
what is new modifier in C#
How do you use inheritance in unity?
What does it mean when someone says I oop?
What is constructor overloading in oop?