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
Why hashcode is used in java?
What is the arraylist in java?
How to solve the problem of generating the unique hash keys with hash function?
Why string is a class?
What does string mean in java?
What are the advantages of java over cpp?
What is variable declaration and definition?
What are the supported platforms by java programming language?
How can a gui component handle its own events in java programming?
Can we declare the static variables and methods in an abstract class?
What is meant by distributed application? Why are we using that in our application?
Are primitives objects?
What interface is extended by awt event listeners?
Can we use string in the switch case?
Can set contain duplicates?