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
What is parse method?
Explain about the dynamic behavior of core java?
How can you set the applet size?
What is the buffer limit?
How does singleton class work?
Give reasons supporting that string is immutable.
Can a class have multiple constructors?
Can an arraylist be empty?
What is a two-pass assembler?
What are runtime exceptions?
What is final?
What steps are taken when the OS shifts from one-thread execution to another?
What are the access modifiers available in java?
Can an interface have a class?
What are predefined functions?