What is the difference between Process and Threads?

Answer Posted / swagatika

Process-When a program executed then process creats which
take space in the memory with its own address space.
-context switching will be delay and more costly in compare
to the thread as it will be the swiching from one memory
space to other memory space.
-One Process can have multiple thread..
Ex-Window Media Player
In the media player

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the immediate superclass of the applet class?

605


What is aop(assepct oriented programing)?

585


What is the relationship between an event-listener interface and an event-adapter class?

561


Do I have to use jsps with my application?

587


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1371






What do you need to set-up a cluster with jboss?

581


How to determine SGA site?

1914


Is it possible to stop the execution of a method before completion in a sessionbean?

605


what is a non-repeatable read?

1834


What is ioc concept?

697


What if the static modifier is removed from the signature of the main method?

711


What is the purpose of the notify() method?

602


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1564


What is bean? Where can it be used?

585


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

576