Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between multitasking and
multithreading?

Answers were Sorted based on User's Feedback



what is the difference between multitasking and multithreading?..

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

More Core Java Interview Questions

How is a structure different from array ?

0 Answers   Amdocs,


When should a function throw an exception?

0 Answers   Thomson Reuters, Virtusa,


Matrix multiplication only using OOP concepts .

0 Answers  


What is garbage collection in Java, and how can it be used ?

32 Answers   Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,


Why java doesn’t support multiple inheritances?

0 Answers  


What is string pool in java?

0 Answers  


What are streams?

0 Answers  


Suppose there is a System A which gives some output. This output is used as input by system B. The rate at which System A produces is faster than the rate at which system B consumes it. How can you improve this?

1 Answers   RBS,


Tell me the latest versions in java related areas?

0 Answers  


Can we have a method name same as class name in java?

0 Answers  


What are the 2 types of java programs?

0 Answers  


what is synchronization and why is it important? : Java thread

0 Answers  


Categories