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
What is empty list in java?
What is singleton class in ruby?
What are the differences between string, stringbuffer and stringbuilder?
Can we pass a primitive type by reference in java? How
Are private methods final?
Explain the difference between intermediate and terminal operations in java8?
What are wrapped classes in java programming?
Is linked list a linear or non-linear data structure?
What is an object in java?
how to create multithreaded program? : Java thread
How do you sort arraylist in descending order?
What is bean? Where it can be used?
Can we create an object of static class in java?
When is the garbage collection used in Java?
What is a lambda expression ? What's its use ?