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 externalizable interface?
Can inner class final?
Explain java coding standards for constants?
How thread scheduler schedule the task?
What is the java virtual machine?
What is an array length?
Is null a keyword in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
List two java ide’s?
what methods would you overwrite in java.lang.object class?
What is java abstraction with example?
What is string substring?
please send me hr interview questions in it industry
What do you mean by pointer value and address?
What is the use of parse function in java?