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 |
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
What is function overloading?,describe it with the example.
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
what is data hiding.
What's the full form of STL?
What are the benefits of oop?
What are two types of polymorphism?
what is object slicing
What is the point of oop?
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.
What is cohesion in oop?
Program to check whether a word starts with a capital letter or not.