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


Please Help Members By Posting Answers For Below Questions

What is externalizable interface?

574


Can inner class final?

627


Explain java coding standards for constants?

569


How thread scheduler schedule the task?

578


What is the java virtual machine?

576






What is an array length?

492


Is null a keyword in java?

551


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

589


List two java ide’s?

604


what methods would you overwrite in java.lang.object class?

558


What is java abstraction with example?

547


What is string substring?

554


please send me hr interview questions in it industry

1655


What do you mean by pointer value and address?

571


What is the use of parse function in java?

506