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

What are Interceptors?

1 Answers  


Does garbage collection guarantee that a program will not run out of memory?

1 Answers  


What are field variable and local variable?

3 Answers  


what is business objects?

2 Answers  


What is the use of pattern in java?

0 Answers  






What does serializing data mean?

0 Answers  


What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } } 10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } }

1 Answers  


what is the difference between pagecontext and servletcontext?

5 Answers   JBA Infotech, TCS,


Why set is used in java?

0 Answers  


What is the locale class in java programming?

0 Answers  


Can we override tostring method in java?

0 Answers  


Does java arraylist maintain insertion order?

0 Answers  


Categories