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 are methods in java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What is difference between classpath and path variables in java?
Describe the Big-O Notation.
Why method overriding is used?
How will you serialize a singleton class without violating singleton pattern?
What is a for loop in java?
Will the jvm load the package twice at runtime?
What is computer compiler?
What one should take care of, while serializing the object?
Where is stringbuffer stored?
What is hashset in java?
What are the uses of java?
What is a priority queue java?
What Is Composition?