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
Can we pass a primitive type by reference in java? How
explain the concept of virtual method invocation in polymorphism in detail?
Does substring create a new object?
Can list contain null in java?
What are the basic interfaces of java collections framework?
What is the difference between a vector & an array list?
What does the three dot emoji mean?
How do you download stubs from Remote place?
What’s the difference between unit, integration and functional testing?
What is the purpose of abstract class?
How do you do absolute value in java?
why Java does not support multiple inheritances?
What is the indent key?
Do I need to import java.lang package any time? Why?
Are strings immutable in java?