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
Is java a virus?
How java is similar to c?
How many types of methods are there in java?
Why does java have different data types for integers and floating-point values?
What is the difference between class forname and new?
Distinguish between a predicate and a function?
What does a za z0 9 mean?
List out five keywords related to exception handling ?
How many types of design patterns are there?
What does serializing data mean?
How do you write a scanner class in java?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What is the purpose of using the java bean?
What is the method in java?
Can a method be static?