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 java in simple terms?
What is meant by collection in java?
Does java list allow null?
What is variable and constant explain with example?
What is a stringbuilder?
Does java runtime require a license?
What is final int?
Why chararray() is preferred over string to store the password?
If try block is successfully executed, Then Is Finally block executed?
What is meant by 'Class access modifiers'?
When should we create our own custom exception classes?
What does main method?
What is get () in java?
Can a class have multiple subclasses?
What happens if we override private method?