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
Which non-unicode letter characters may be used as the first character of an identifier?
What is treeset in java?
Tell me about different OOPS concepts.
What do you mean by an interface in java?
What is the hashcode () and equals () used for?
How thread scheduler schedule the task?
How to sort array in descending order in java?
What is java console application?
Is main is a keyword?
What is space character in java?
Why string is called as immutable?
What is the difference between abstract class and interface1? What is an interface?
Why arraylist is not synchronized in java example?
What are the benefits of operations?
Is java an ide?