What is the difference between Process and Threads?

Answer Posted / surabhee

Firstly,a process can contain multiple threads.
In multithreading operating systems, a process gets its own memory address space; a thread doesn't.
Threads typically share the heap belonging to their parent process.
Even though they share a common heap, threads have their own stack space.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the font and fontmetrics classes?

567


Can I run seam with jdk 1.4 and earlier?

563


What are callback interfaces?

595


What is the difference between RMI and Corba?

2269


What is aop(assepct oriented programing)?

585






Why does the option tag render selected=selected instead of just selected?

682


What value does readline() return when it has reached the end of a file?

598


Explain how will the struts know which action class to call when you submit a form?

529


What state does a thread enter when it terminates its processing?

611


What is abstract schema?

557


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

1788


What are various types of class loaders used by jvm?

502


How primary key is implemented in Oracle?

1920


What is mdb and what is the special feature of that?

571


Why doesn’t the focus feature on the tag work in every circumstance?

573