what is the difference between multitasking and
multithreading?
Answer Posted / 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 |
Post New Answer View All Answers
What are the loops in java?
How to create a fecelet view?
Can you declare an interface method static?
Define max and min heap, also the search time of heap.
What is difference between stringbuffer and string?
Explain polymorphism citing an example.
what is recursion in java
If a method is declared as protected, where may the method be accessed?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
How do you remove spaces in java?
What do you understand by the term singleton?
Which package is used for pattern matching with regular expressions?
What is javac in java?
Is string passed by reference in java?
Are registers volatile?