What is the difference between Process and Threads?

Answer Posted / srinivas

Thread is nothing but functionality(group of statements)
which could be executed simultaneously with the other part
of the program, with the concept of each other.

Where as a process is nothing but 'a program which is under
execution'. Thread is a part of the process

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scalable, portability in the view of J2EE?

1869


Is the infobus client side only?

606


Define aop(assepct oriented programing)?

630


What is the difference between system.out ,system.err and system.in?

594


What is the purpose of the notify() method?

593






How a component can be placed on Windows?

2264


Why use POJO when I can use hashmap

2045


When a thread blocks on i/o, what state does it enter?

571


What is the difference between static and non-static with examples?

1358


What is the purpose of the finally clause of a try-catch-finally statement?

555


difference between  ejb,struts,hibernate,spring and jsp

2299


Explain the advantages and disadvantages of detached objects.

572


How messaging services are done, before release of JMS?

1583


Which textcomponent method is used to set a textcomponent to the read-only state?

628


What are externizable interface?

580