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
Can there be an abstract method without an abstract class?
Is sizeof a preprocessor?
How do you compare objects in java?
What class allows you to read objects directly from a stream in java programming?
What are filterstreams?
What are features of java?
What is the common usage of serialization? What exceptions occur during serialization?
Why constructor has no return type?
Explain, java is compatible with all servers but not all browsers?
What is your platform’s default character encoding?
Differences between traditional programming language and object oriented programming language?
What are the approaches that you will follow for making a program very efficient?
Can you add null to a list java?
How to declare objects of a class ?
What is variable in java?