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 happens to the Exception object after handling an exception?
can write code for serialization ?
What is a flag and how does it work?
What are legal modifiers that we can use to declare an inner class?
How many types of threads are there in java?
Is java an open source?
What is += mean in java?
What exactly is a .class file?
What is an eror in java?
what is polymorphism with example?types of polymorphism?
How to know the host from which Applet is originated?
What does super keyword do?