What is the difference between Process and Threads?

Answer Posted / rekha

A Procees is an execution of program but a thread is a
single execution sequence within a process(and so called
a "light weight process").

A process can contain n number of threads.

Is This Answer Correct ?    168 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What restrictions are placed on the location of a package statement within a source code file?

605


What is synchronization and why is it important?

532


What are the services in RMI ?

1876


difference between  ejb,struts,hibernate,spring and jsp

2289


Write a program to show synchronization?

679






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!

1356


What class is the top of the awt event hierarchy?

566


What is the purpose of the notify() method?

587


What are the different types of exception?

564


What are the different approaches to represent an inheritance hierarchy?

573


Is there a guarantee of uniqueness for entity beans?

561


Explain the advantages and disadvantages of detached objects.

568


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

574


Why do I get a duplicate name error when loading a jar file?

538


What is an abstract method?

585