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

Have you used threads in Servelet?

1940


Which containers use a border layout as their default layout?

618


How to determine SGA site?

1920


Do you think that java should have had pointers?

610


How will you pass parameters in RMI? Why do you serialize?

710






What are the types of scaling?

565


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

594


What modifiers may be used with an interface declaration?

568


What is synchronization and why is it important?

555


What is the infobus?

620


What are the different types of exception?

579


Difference between new operator and class.forname().newinstance()?

612


What happens when a thread cannot acquire a lock on an object?

552


Describe activation process?

2070


what are memory considerations of jsp compares to other web components?

6026