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 does indexof mean?
Can we use this () and super () in a method?
Where local and global variables are stored?
Is java hashset ordered?
What is a map in java?
How big is a boolean?
How to create a thread in java?
How would you dynamically allocate memory to an array?
How many ways can we create singleton class?
What is ‘is-a ‘ relationship in java?
Explain about arraylist?
What is static data type in java?
If an object is garbage collected, can it become reachable again?
Explain what access modifiers can be used for variables?
Is an array a vector?