what is the difference between multitasking and
multithreading?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java a virus?

534


How java is similar to c?

586


How many types of methods are there in java?

530


Why does java have different data types for integers and floating-point values?

535


What is the difference between class forname and new?

552






Distinguish between a predicate and a function?

574


What does a za z0 9 mean?

564


List out five keywords related to exception handling ?

600


How many types of design patterns are there?

531


What does serializing data mean?

523


How do you write a scanner class in java?

568


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

610


What is the purpose of using the java bean?

572


What is the method in java?

599


Can a method be static?

528