What is the difference between Process and Threads?

Answer Posted / alok mmmec gkp

THE BASIC DIFFERENCE B/W THREADS AND PROCESSS IS THAT
THREAD CONTAINS A STACK IN WHICH USER N KERNAL PROCESS ADDRESS
ARE STORED
FOR EVERY STEP A NEW PROCESS IS CREATED IN THE PLACE OF IT
THREADS USES ITS STACK

Is This Answer Correct ?    28 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you control when passivation occurs?

607


the same information whether it will connect to the database or it will be used previous information?

581


Can constructors be synchronized in java?

631


What is the relationship between local interfaces and container-managed relationships?

602


What is ioc concept?

701






Write a singleton program?

582


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1824


Have you used threads in Servelet?

1940


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!

1374


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1115


Should synchronization primitives be used on bean methods?

560


Do we need to override service() method

1152


whats is mean by tiles in struts

1636


What are the benefits of detached objects?

597


why static class in java

1284