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 the purpose of the wait(), notify(), and notifyall() methods in java programming?
What is meant by object?
Explain method overloading?
How to declare an arraylist in java?
Difference between association, composition and aggregation?
Difference between a class and an object?
What are internal variables?
What is the latest java version?
Can we declare the main method of our class as private?
Can an arraylist be empty?
Why java doesn’t support multiple inheritances?
What are the advantages of unicode?
What is the difference between variable & constant?
Explain the difference between an Interface and an Abstract class?
What is the difference between iterator and enumeration ?