what is the difference between multitasking and
multithreading?
Answers were Sorted based on User's Feedback
Answer / mayuri patil
u can say multi threading as a specilized form of multitasking.
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,
process are hevyweight tasks that require their own addressspace.
interprocess communication is veryexpensive and contextswitching
from one process to another procees is costly since they are running
in 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 ? | 0 Yes | 0 No |
What is an example of a constant variable?
What is java full form?
Can interface be private in java?
Can a class be final?
What is the purpose of methodology?
Can we have any other return type than void for main method?
What is class array in java?
what is difference between prepare stetement and callable starement with example?
Where is the singleton class used?
When we give defination of interface method in the class why method must be public???
what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0
What sorting algorithm does javascript use?