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
What is arrays sort in java?
How does indexof work?
What are the advantages of functions?
What is tree node in java?
What is reflexive association?
Where is jre installed?
Differentiate between overriding and overloading cases?
What are the 4 types of research methods?
What is meant by nested loop?
Will set allow duplicates in java?
what is server side caching?
What is the purpose of javac exe?
Explain about the performance aspects of core java?
What is the formula to calculate percentage?
What is meant by attribute?