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 difference between object state and behavior?

569


Describe, in general, how java's garbage collector works?

530


what is a portable component?

1456


Is the ternary operator written x : y ? Z or x ? Y : z ?

628


What is glasgow?

574






Difference between loadclass and class.forname?

585


What are the sequence of steps to write pub or sub model kind of application?

1886


What does module-relative mean?

568


What is the argument type of a programs main() method?

555


What are the difference between RMI and CORBA?

615


What modifiers may be used with an inner class that is a member of an outer class?

566


Why is actionform a base class rather than an interface?

558


How can I scroll through list of pages like the search results in google?

559


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

538


Name three subclasses of the component class?

604