Answer Posted / bhushan
Thread is light weight process.
One Process can have multiple threads.
Eg:
I opened Microsoft Word doc and writing at the same time
spell checker is also running.
It implies in 1 process multiple threads can run
simultaneously with less overhead.
To create separate process for different functionality will
create overhead.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is dynamic binding(late binding)?
What is the maximum size of array in java?
What is meant by interface?
What kind of variables can a class consist?
List some features of the abstract class.
Why is multithreading important?
why not override thread to make a runnable? : Java thread
What is null object in java?
Can you pass by reference in java?
What is equals method in java?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
How does sublist works in java?
What is the use of accept () method in java?
What does flagged out mean?
Can we create our own daemon thread?