Answer Posted / sa ju
A thread and a process are same but a minor difference is there.
Process executes a program completely without splitting
whereas a thread splits a program into smaller tasks and
then execute them separately.And then combine the final result.
that is why a process is often called as Heavy weight and a
thread is called as light weight.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to create a thread in java?
Can each java object keep track of all the threads that want to exclusively access it?
Write an algorithm for quick sort?
Can java list contain duplicates?
What is the final field modifier?
describe synchronization in respect to multithreading? : Java thread
How do you use wildcards?
Which access specifier can be used with class ?
what are Hostile Applets?
What is loop in java?
Can a method be static?
What is Hierarchy of exception?
What is a treeset in java?
Can a singleton class be inherited?
Write java program to reverse string without using api?