what is the difference between multitasking and
multithreading?
Answer Posted / geetha.v
A multi threaded program contains 2 or more threads
running concurently.
In a multitasking environment 2 or more processes will run
concurently.
Multithreading requires less overhead than
multitasking.
Interprocess communication is very expensive
and context switching from one process to another procees
is costly since they are runningin different address spases.
In case of multithreading threads are lightweightprocess and
can share same addressspace and interthread communication
is less.
expensive
than interprocees
| Is This Answer Correct ? | 40 Yes | 6 No |
Post New Answer View All Answers
How can we find the sum of two linked lists using stack in java?
What are keywords and reserved words in java?
What are the drawbacks of reflection?
Is vector ordered in java?
What is a default constraint?
java program with complete 4 oops concepts implemented example
Can you instantiate the math class in Java?
What is module in project?
Why is logger singleton?
What is <> used for in java?
What is stack example?
Is java a compiler?
What is the applet security manager, and what does it provide?
What is n in java?
What is variable argument in java?