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 |
What is overloading in oops?
What is polymorphism explain its types?
what is the use of mutable key word
hi all..i want to know oops concepts clearly can any1 explain??
What is object in oops?
Whats oop mean?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
difine hierarchical inheritance.
what is ltti
What is multiple inheritance? Give Example
what is difference between String s=new String("vali"); String s="vali"
what is polymorphism?